Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template any_cast

boost::anys::any_cast

Synopsis

// In header: <boost/any/basic_any.hpp>


template<typename ValueType,  Size,  Alignment> 
   (basic_any<  operand);

Description

Returns:

Pointer to a ValueType stored in operand, nullptr if operand does not contain specified ValueType.


PrevUpHomeNext