Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
Static Public Member Functions | Static Private Attributes | List of all members
JLANG::JDefault< T > Struct Template Reference

Simple default class. More...

#include <JDefault.hh>

Inheritance diagram for JLANG::JDefault< T >:
JLANG::JObjectSelector< JHead_t > JLANG::JObjectSelector< JTail_t > JLANG::JValve< JHead_t > JLANG::JValve< JTail_t > JLANG::JValve< JDerived_t > JLANG::JObjectSelector< JTypeList< JHead_t, JNullType > > JLANG::JObjectSelector< JTypeList< JHead_t, JTail_t > > JLANG::JObjectSelector< JTypeList< JHead_t, JTail_t > > JLANG::JValve< JTypeList< JHead_t, JNullType > > JLANG::JValve< JTypeList< JHead_t, JTail_t > > JLANG::JValve< JTypeList< JHead_t, JTail_t > > JLANG::JTypeSelector< JTypeList< JHead_t, JTail_t > > JLANG::JTypeSelector< JTypeList< JHead_t, JTail_t > >

Static Public Member Functions

static const T & getDefault ()
 Get default value of template class.
 

Static Private Attributes

static const T value
 

Detailed Description

template<class T>
struct JLANG::JDefault< T >

Simple default class.

Definition at line 18 of file JDefault.hh.

Member Function Documentation

◆ getDefault()

template<class T >
static const T & JLANG::JDefault< T >::getDefault ( )
inlinestatic

Get default value of template class.

Returns
value

Definition at line 24 of file JDefault.hh.

25 {
26 return value;
27 }
static const T value
Definition JDefault.hh:30

Member Data Documentation

◆ value

template<class T >
const T JLANG::JDefault< T >::value
staticprivate

Definition at line 30 of file JDefault.hh.


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