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 >
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: