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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function template dynamic_cast_

boost::xpressive::dynamic_cast_ — dynamic_cast_ is a lazy funtion for dynamically casting a parameter to a different type.

Synopsis

// In header: <boost/xpressive/regex_actions.hpp>


template<typename T, typename A> unspecified dynamic_cast_(A const & a);

Description

Parameters:

a

The lazy value to dynamically cast.

Template Parameters:

T

The type to which to dynamically cast the parameter.

Returns:

A lazy object that, when evaluated, dynamically casts its argument to the desired type.


PrevUpHomeNext