|
variant
A type safe generalized union type
|
Implements the class variant. More...
#include <cassert>#include <stdexcept>#include <typeinfo>#include <type_traits>#include <utility>#include "variant_storage.hpp"Go to the source code of this file.
Classes | |
| class | variant< Types > |
| A type safe generalized union. More... | |
| class | bad_variant_access |
| Exception class thrown when a type that is not currently bound is accessed via variant::get. More... | |
| struct | variant_element< I, Variant > |
Defines the member type type to the Ith type of the variant. More... | |
| struct | variant_index< T, Variant > |
| Obtain the index of a variant type. More... | |
| struct | variant_size< Variant > |
| Provides access to the number of elements in a variant as a compile-time constant expression. More... | |
| class | variant< Types > |
| A type safe generalized union. More... | |
Implements the class variant.
1.8.9.1