Tomographer
v5.2
Tomographer C++ Framework Documentation
|
Template Specialization – see StaticOrDynamic<T_,IsDynamic_,StaticValue_> More...
#include <tomographer/tools/cxxutil.h>
Public Types | |
typedef T_ | T |
Type of the value we are storing. See StaticOrDynamic<T_,IsDynamic_,StaticValue_>::T. | |
Public Member Functions | |
StaticOrDynamic ()=delete | |
No default constructor. | |
StaticOrDynamic (T val) | |
Constructor which initializes the value to val. More... | |
T | value () const |
See StaticOrDynamic<T_,IsDynamic_,StaticValue_>::value() | |
T | operator() () const |
See StaticOrDynamic<T_,IsDynamic_,StaticValue_>::operator()() | |
Static Public Attributes | |
static constexpr bool | IsDynamic = true |
Whether this value is flexible at run-time (dynamic), or fixed at compile-time (static). | |
Template Specialization – see StaticOrDynamic<T_,IsDynamic_,StaticValue_>
Specialization for the case if the value is known only at runtime.
|
inlineexplicit |