Tomographer  v5.3
Tomographer C++ Framework Documentation
Tomographer::Tools::StoreIfEnabled< T_, true > Struct Template Reference

Specialization of StoreIfEnabled<T_,enabled> for if we're storing a value. More...

#include <tomographer/tools/cxxutil.h>

Public Types

typedef T_ T
 The type we're storing.
 

Public Member Functions

template<typename... ArgTypes>
 StoreIfEnabled (const ArgTypes &... args)
 Constructor. Any arguments are passed to the value's constructor.
 

Public Attributes

T value
 This property keeps the value we're supposed to store.
 

Static Public Attributes

static constexpr bool IsEnabled = true
 Whether we're storing a value or not – yes.
 

Detailed Description

template<typename T_>
struct Tomographer::Tools::StoreIfEnabled< T_, true >

Specialization of StoreIfEnabled<T_,enabled> for if we're storing a value.

Definition at line 268 of file cxxutil.h.


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