| Home | Libraries | People | FAQ | More

## Function template any_cast

boost::anys::any_cast

## Synopsis

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

    template<typename ValueType, std::size_t Size, std::size_t Alignment>
      ValueType * any_cast(basic_any< Size, Alignment > * operand);

## Description

Returns: | Pointer to a ValueType stored in `operand`, nullptr if `operand` does not contain specified `ValueType`.