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