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

◆ LogStruct()

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

Definition at line 10 of file Log.h.

10 : _(t) {}

Member Function Documentation

◆ operator()()

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

Definition at line 11 of file Log.h.

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

References funct::LogStruct< T >::_, and funct::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()().

funct::LogStruct::_
T _
Definition: Log.h:12
OrderedSet.t
t
Definition: OrderedSet.py:90
funct::log
Log< T >::type log(const T &t)
Definition: Log.h:22