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

Static cast functor. More...

#include <til/functors.h>

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

Public Types

typedef std::binary_function< TTo &, typename boost::call_traits< TFrom >::param_type, void > Base
 
typedef Base::first_argument_type first_argument_type
 
typedef Base::second_argument_type second_argument_type
 
typedef Base::result_type result_type
 

Public Member Functions

void operator() (first_argument_type x, second_argument_type y) const
 

Detailed Description

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

Static cast functor.

Definition at line 136 of file functors.h.

Member Typedef Documentation

◆ Base

template<typename TTo , typename TFrom >
typedef std::binary_function<TTo &, typename boost::call_traits<TFrom>::param_type, void> til::functor::CastTo< TTo, TFrom >::Base

Definition at line 139 of file functors.h.

◆ first_argument_type

template<typename TTo , typename TFrom >
typedef Base::first_argument_type til::functor::CastTo< TTo, TFrom >::first_argument_type

Definition at line 140 of file functors.h.

◆ result_type

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

Definition at line 142 of file functors.h.

◆ second_argument_type

template<typename TTo , typename TFrom >
typedef Base::second_argument_type til::functor::CastTo< TTo, TFrom >::second_argument_type

Definition at line 141 of file functors.h.

Member Function Documentation

◆ operator()()

template<typename TTo , typename TFrom >
void til::functor::CastTo< TTo, TFrom >::operator() ( first_argument_type  x,
second_argument_type  y 
) const
inline

Definition at line 143 of file functors.h.


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