dlr::common::StaticCastFunctor< TypeIn, TypeOut > Struct Template Reference

Functor template which uses static_cast to convert instances of one type into instances of another. More...

#include <functional.h>

List of all members.

Public Member Functions

TypeOut operator() (const TypeIn &input)
 Static cast the input argument to TypeOut, and return the result.


Detailed Description

template<class TypeIn, class TypeOut>
struct dlr::common::StaticCastFunctor< TypeIn, TypeOut >

Functor template which uses static_cast to convert instances of one type into instances of another.

Definition at line 356 of file functional.h.


Member Function Documentation

template<class TypeIn , class TypeOut >
TypeOut dlr::common::StaticCastFunctor< TypeIn, TypeOut >::operator() ( const TypeIn &  input  )  [inline]

Static cast the input argument to TypeOut, and return the result.

Parameters:
input Will be cast to type TypeOut.
Returns:
The result of the cast.

Definition at line 366 of file functional.h.


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

Generated on Tue Nov 24 23:57:57 2009 for dlrCommon Utility Library by  doxygen 1.5.8