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

Remove optional converstions that change the inner type #449

Closed
wants to merge 1 commit into from

Conversation

danakj
Copy link
Collaborator

@danakj danakj commented Dec 25, 2023

This is abnormal for C++ containers. In the future std::optional may gain the ability to hold a reference so we don't want to convert from references to pointers now since that would mean the wrong thing happens later or a breaking change would be needed. Instead provide docs saying how to go from a reference to a pointer or value.

This is abnormal for C++ containers. In the future std::optional
may gain the ability to hold a reference so we don't want to convert
from references to pointers now since that would mean the wrong thing
happens later or a breaking change would be needed. Instead provide docs
saying how to go from a reference to a pointer or value.
@danakj danakj added the design Design of the library systems as a whole, such as concepts label Dec 25, 2023
@danakj danakj closed this Dec 25, 2023
@danakj
Copy link
Collaborator Author

danakj commented Dec 25, 2023

Duplicated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design of the library systems as a whole, such as concepts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant