...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::any_cast
// In header: <boost/any.hpp> template<typename ValueType> ValueType any_cast(const any & operand);
Returns: |
|
Throws: |
boost::bad_any_cast if operand does not contain specified ValueType . |