SLIP  1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
slip::un_real< T1, T2 > Struct Template Reference

Real functor. Return the real part of x. More...

#include <macros.hpp>

Inheritance diagram for slip::un_real< T1, T2 >:
Inheritance graph

Public Member Functions

 un_real ()
 
T2 operator() (const T1 &x)
 

Detailed Description

template<typename T1, typename T2>
struct slip::un_real< T1, T2 >

Real functor. Return the real part of x.

Author
Denis Arrivault <arrivault_AT_sic.univ-poitiers.fr>
Date
2009/03/01
Since
1.0.0
Version
0.0.1
Parameters
x
Returns
the real part of x.
Note
Functor object that calls the std::real function

Definition at line 98 of file macros.hpp.

Constructor & Destructor Documentation

template<typename T1 , typename T2 >
slip::un_real< T1, T2 >::un_real ( )
inline

Definition at line 100 of file macros.hpp.

Member Function Documentation

template<typename T1 , typename T2 >
T2 slip::un_real< T1, T2 >::operator() ( const T1 &  x)
inline

Definition at line 101 of file macros.hpp.


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