[optional] new version in master
Hi Everyone,
This might have been too hasty, but I have put a new version of
Boost.Optional on branch master. Tests in 'develop' and 'master' branches
pass fine, but I am not sure what it says about overall stability of the
library.
The changes include:
- Move semantics, interoperable with std::move_if_noexcept() -- i.e.,
move operations are conditionally noexcept;
- Using explicit operator bool() rather than custom 'safe-bool idiom'
--on applicable platforms; this will break code that exploited the security
hole in safe-bool idiom.
- Now, you cannot bind optional
Andrzej Krzemienski
I encourage everyone with spare time and available resources to test the version and give us feedback.
I have been using the version on the develop branch since the change with explicit operator bool and it works great on Visual C++ 2013. Some of the changes broke some code, but the code was wrong, so it was a good thing. Thank you very much!
participants (2)
-
Andrzej Krzemienski
-
Marcel Raad