Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type Required #78

Merged
merged 3 commits into from
Nov 9, 2024
Merged

Add type Required #78

merged 3 commits into from
Nov 9, 2024

Conversation

helly25
Copy link
Owner

@helly25 helly25 commented Nov 8, 2024

Add type Required:

  • Added mbo::types::Required which is similar to RefWrap but stores the actual type (and unlike std::optional cannot be reset).

* Added `mbo::types::Required` which is similar to `RefWrap` but stores the actual type (and unlike `std::optional` cannot be reset).
Change multi-arg ctor to std::in_place_t based (like std::optional.)
@helly25 helly25 requested a review from Fab-Cat November 8, 2024 22:59
@helly25 helly25 enabled auto-merge (squash) November 8, 2024 23:00
@helly25 helly25 disabled auto-merge November 8, 2024 23:03
@helly25 helly25 merged commit ded657b into main Nov 9, 2024
4 checks passed
@helly25 helly25 deleted the feat/required_20241108 branch November 9, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants