We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See issue 54 at TartanLlama/optional.
Boost.Optional:
template <typename F> value_type value_or_eval ( F f ) const& { if (this->is_initialized()) return get(); else return f(); } template <typename F> value_type value_or_eval ( F f ) && { if (this->is_initialized()) return boost::move(get()); else return f(); }
The text was updated successfully, but these errors were encountered:
Add non-standard value_or_eval() (#67)
8701a8b
Use optional_constexpr14 with value_or_eval() (#67)
76914b7
[skip ci] Update test specification, add folding (#67)
2407e55
No branches or pull requests
See issue 54 at TartanLlama/optional.
Boost.Optional:
The text was updated successfully, but these errors were encountered: