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 in-place constructor and emplace method to Optional #600

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

SergeyRyabinin
Copy link
Contributor

Issue #, if available:
NOW there is no way to avoid copy or move construction of underlying value
Description of changes:
Provide such option in Optional.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@SergeyRyabinin SergeyRyabinin marked this pull request as ready for review February 28, 2024 09:31
@SergeyRyabinin SergeyRyabinin merged commit 4759fbb into main Feb 28, 2024
55 checks passed
@SergeyRyabinin SergeyRyabinin deleted the sr_optionalEmplace branch February 28, 2024 17:50
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.

3 participants