forked from boostorg/optional
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:
1 parent
726b227aa9
commit
f229257f30
6 files changed
+90
-38
No files matched your search
@@ -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