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