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:
Andrzej Krzemienski
2015-01-21 15:03:17 +01:00
parent 726b227aa9
commit f229257f30
6 changed files with 90 additions and 38 deletions

View File

@ -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]