boost::anys::any_cast
// In header: <boost/any/unique_any.hpp> template<typename T> const T * any_cast(const unique_any * operand);
Returns:
Const pointer to a T stored in operand, nullptr if operand does not contain specified T.
T
operand