Name |
Last commit
|
Last update |
---|---|---|
.. | ||
assignment | ||
cons | ||
constexpr | ||
observers | ||
relops | ||
swap | ||
77288.cc | ||
84601.cc | ||
hash.cc | ||
in_place.cc | ||
make_optional.cc | ||
nullopt.cc | ||
requirements.cc | ||
typedefs.cc |
In C++1z drafts up to N4606 the constexpr keyword was missing from the detailed description of this function, despite being shown in the class synopsis. That was fixed editorially for N4618, but our implementation was not corrected to match. * include/std/optional (optional::value_or(U&&) &&): Add missing constexpr specifier. * testsuite/20_util/optional/constexpr/observers/4.cc: Check value_or for disengaged optionals and rvalue optionals. * testsuite/20_util/optional/observers/4.cc: Likewise. From-SVN: r270409
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
assignment | Loading commit data... | |
cons | Loading commit data... | |
constexpr | Loading commit data... | |
observers | Loading commit data... | |
relops | Loading commit data... | |
swap | Loading commit data... | |
77288.cc | Loading commit data... | |
84601.cc | Loading commit data... | |
hash.cc | Loading commit data... | |
in_place.cc | Loading commit data... | |
make_optional.cc | Loading commit data... | |
nullopt.cc | Loading commit data... | |
requirements.cc | Loading commit data... | |
typedefs.cc | Loading commit data... |