CMS 3D CMS Logo

Public Member Functions | Public Attributes

funct::LogStruct< T > Struct Template Reference

#include <Log.h>

List of all members.

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.

: _(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().

{ return ::log(_()); }

Member Data Documentation

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

Definition at line 12 of file Log.h.

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