aimstil  5.0.5
til::functor::Cast< TTo, TFrom > Struct Template Reference

Static cast functor. More...

#include <til/functors.h>

Inheritance diagram for til::functor::Cast< TTo, TFrom >:
Collaboration diagram for til::functor::Cast< TTo, TFrom >:

Public Types

typedef std::unary_function< typename boost::call_traits< TFrom >::param_type, TTo > Base
 
typedef Base::argument_type argument_type
 
typedef Base::result_type result_type
 

Public Member Functions

result_type operator() (argument_type x) const
 

Detailed Description

template<typename TTo, typename TFrom>
struct til::functor::Cast< TTo, TFrom >

Static cast functor.

Definition at line 163 of file functors.h.

Member Typedef Documentation

◆ argument_type

template<typename TTo , typename TFrom >
typedef Base::argument_type til::functor::Cast< TTo, TFrom >::argument_type

Definition at line 167 of file functors.h.

◆ Base

template<typename TTo , typename TFrom >
typedef std::unary_function<typename boost::call_traits<TFrom>::param_type,TTo> til::functor::Cast< TTo, TFrom >::Base

Definition at line 166 of file functors.h.

◆ result_type

template<typename TTo , typename TFrom >
typedef Base::result_type til::functor::Cast< TTo, TFrom >::result_type

Definition at line 168 of file functors.h.

Member Function Documentation

◆ operator()()

template<typename TTo , typename TFrom >
result_type til::functor::Cast< TTo, TFrom >::operator() ( argument_type  x) const
inline

Definition at line 169 of file functors.h.


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