Jpp  18.2.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
JTOOLS::JElement< T > Struct Template Reference

Auxiliary class to convert value to element. More...

Public Member Functions

 JElement ()
 Default constructor. More...
 
T operator() (const double x) const
 Type conversion operator. More...
 

Static Public Member Functions

static T getEndMarker ()
 Get end marker. More...
 

Detailed Description

template<class T>
struct JTOOLS::JElement< T >

Auxiliary class to convert value to element.

Definition at line 65 of file JMergeSort.cc.

Constructor & Destructor Documentation

template<class T >
JTOOLS::JElement< T >::JElement ( )
inline

Default constructor.

Definition at line 70 of file JMergeSort.cc.

71  {}

Member Function Documentation

template<class T >
T JTOOLS::JElement< T >::operator() ( const double  x) const
inline

Type conversion operator.

Parameters
xvalue
Returns
element

Definition at line 80 of file JMergeSort.cc.

81  {
82  return (T) x;
83  }
do set_variable OUTPUT_DIRECTORY $WORKDIR T
template<class T >
static T JTOOLS::JElement< T >::getEndMarker ( )
inlinestatic

Get end marker.

Returns
element

Definition at line 91 of file JMergeSort.cc.

92  {
93  return std::numeric_limits<T>::max();
94  }

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