CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
funct::LogStruct< T > Struct Template Reference

#include <Log.h>

Public Member Functions

 LogStruct (const T &t)
 
double operator() () const
 

Public Attributes

T _
 

Detailed Description

template<typename T>
struct funct::LogStruct< T >

Definition at line 9 of file Log.h.

Constructor & Destructor Documentation

template<typename T >
funct::LogStruct< T >::LogStruct ( const T t)
inline

Definition at line 10 of file Log.h.

10 : _(t) {}

Member Function Documentation

template<typename T >
double funct::LogStruct< T >::operator() ( ) const
inline

Definition at line 11 of file Log.h.

References funct::LogStruct< T >::_, and funct::log().

11 { return ::log(_()); }
Log< T >::type log(const T &t)
Definition: Log.h:22

Member Data Documentation

template<typename T >
T funct::LogStruct< T >::_

Definition at line 12 of file Log.h.

Referenced by funct::LogStruct< T >::operator()().