Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::xpressive::op::static_cast_< T > Struct Template Reference

static_cast_<> is a PolymorphicFunctionObject for statically casting a parameter to a different type. More...

#include <xpressive_fwd.hpp>

Public Types

typedef T result_type
 

Public Member Functions

template<typename Value >
T operator() (Value const &val) const
 

Detailed Description

template<typename T>
struct boost::xpressive::op::static_cast_< T >

static_cast_<> is a PolymorphicFunctionObject for statically casting a parameter to a different type.

Template Parameters
TThe type to which to statically cast the parameter.

Member Typedef Documentation

template<typename T >
typedef T boost::xpressive::op::static_cast_< T >::result_type

Member Function Documentation

template<typename T >
template<typename Value >
T boost::xpressive::op::static_cast_< T >::operator() ( Value const &  val) const
inline
Parameters
valThe value to statically cast.
Returns
static_cast<T>(val)

References T, and boost::xpressive::val().


The documentation for this struct was generated from the following file: