Serac
0.1
Serac is an implicit thermal strucural mechanics simulation code.
|
#include <variant.hpp>
Public Member Functions | |
constexpr | variant_storage () |
Default constructor Default initializes the first member of the variant. | |
constexpr void | clear () |
No-op clear as both member types are trivially destructible. | |
Public Attributes | |
int | index_ = 0 |
The index of the active member. | |
union serac::detail::variant_storage< T0, T1, std::enable_if_t< std::is_trivially_destructible_v< T0 > &&std::is_trivially_destructible_v< T1 > > >:: { ... } | |
T0 | t0_ |
The storage for the first data type. | |
T1 | t1_ |
The storage for the second data type. | |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 116 of file variant.hpp.