boost::any_cast
// In header: <boost/any.hpp> template<typename ValueType> BOOST_ANY_IMPL_CONSTEXPR ValueType * any_cast(any * operand);
Returns:
Pointer to a ValueType stored in operand, nullptr if operand does not contain specified ValueType.
operand
ValueType