3 May
2013
3 May
'13
9:07 p.m.
Le 03/05/13 18:30, Antony Polukhin a écrit : > 2013/5/3 Beman Dawes: >> A fresh draft of the proposal is up at >> http://beman.github.com/dot16/any-proposal.html >> >> There are also some other differences: >> * boost implementation has perfect forwarding of ValueType >> (constructor and operator=) +1 > * ValueType requirement is MoveConstructible or CopyConstructible (it > can be used with move only types) +1 > * proposal misses noexcept in for bad_any_cast: virtual const char* > what() const; What about adding to Boost.Config helpers #if ! defined BOOST_NOEXCEPT_OR_THROW #ifdef BOOST_NO_CXX11_NOEXCEPT # define BOOST_NOEXCEPT_OR_THROW throw() #else # define BOOST_NOEXCEPT_OR_THROW noexcept #endif #endif Vicente