mirror of
https://github.com/boostorg/optional.git
synced 2025-07-29 20:17:21 +02:00
You can now manually disable move semantics.
This may be useful in MSVC to work around a bug described in Trac #10399
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
* `boost::none_t` is no longer convertible from literal `0`. This avoids a bug where `optional<rational<int>> oi = 0;` would initialize an optional object with no contained value.
|
||||
* Improved the trick that prevents streaming out `optional` without header `optional_io.hpp` by using safe-bool idiom. This addresses [@https://svn.boost.org/trac/boost/ticket/10825 Trac #10825]
|
||||
* IOStream operators are now mentioned in documentation.
|
||||
* Added a way to manually disable move semantics: just define macro `BOOST_OPTIONAL_CONFIG_NO_RVALUE_REFERENCES`. This can be used to work around [@https://svn.boost.org/trac/boost/ticket/10399 Trac #10399]
|
||||
|
||||
|
||||
[heading Boost Release 1.57]
|
||||
|
Reference in New Issue
Block a user