Tomographer  v1.0a
Tomographer C++ Framework Documentation
Tomographer::Tools::store_if_enabled< T_, true > Struct Template Reference

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

#include <tomographer/tools/util.h>

Public Types

typedef T_ T
 The type we're storing.
 

Public Member Functions

template<typename... ArgTypes>
 store_if_enabled (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 is_enabled = true
 Whether we're storing a value or not – yes.
 

Detailed Description

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

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

Definition at line 237 of file util.h.


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