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 develop branch, built from commit dcea408971.
PrevUpHomeNext

Function template static_cast_

boost::xpressive::static_cast_ — static_cast_ is a lazy funtion for statically casting a parameter to a different type.

Synopsis

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


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

Description

Parameters:

a

The lazy value to statically cast.

Template Parameters:

T

The type to which to statically cast the parameter.

Returns:

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


PrevUpHomeNext