Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit c77463be26.
PrevUpHomeNext

Function template any_cast

boost::anys::any_cast

Synopsis

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


template<typename T> T any_cast(unique_any && operand);

Description

Returns:

T stored in operand

Throws:

boost::bad_any_cast if operand does not contain specified T.

PrevUpHomeNext