|
RESTinio
|
#include <variant.hpp>
Classes | |
| union | aligned_storage_t |
Public Member Functions | |
| variant () | |
| variant (T0 const &t0) | |
| variant (T1 const &t1) | |
| variant (T2 const &t2) | |
| variant (T3 const &t3) | |
| variant (T4 const &t4) | |
| variant (T5 const &t5) | |
| variant (T6 const &t6) | |
| variant (variant const &rhs) | |
| ~variant () | |
| variant & | operator= (variant const &rhs) |
| variant & | operator= (T0 const &t0) |
| variant & | operator= (T1 const &t1) |
| variant & | operator= (T2 const &t2) |
| variant & | operator= (T3 const &t3) |
| variant & | operator= (T4 const &t4) |
| variant & | operator= (T5 const &t5) |
| variant & | operator= (T6 const &t6) |
| std::size_t | index () const |
| bool | valueless_by_exception () const |
| void | swap (variant &rhs) variant_noexcept |
| template<class T > | |
| variant_constexpr std::size_t | index_of () const variant_noexcept |
| template<class T > | |
| T & | get () |
| template<class T > | |
| T const & | get () const |
| template<std::size_t I> | |
| variant_alternative< I, variant >::type & | get () |
| template<std::size_t I> | |
| variant_alternative< I, variant >::type const & | get () const |
Private Types | |
| enum | { data_size = detail::typelist_max< variant_types >::value } |
| typedef detail::helper< T0, T1, T2, T3, T4, T5, T6 > | helper_type |
| typedef helper_type::type_index_t | type_index_t |
| typedef detail::typelist_max< variant_types >::type | max_type |
Private Member Functions | |
| typedef | variant_TL7 (T0, T1, T2, T3, T4, T5, T6) variant_types |
| void * | ptr () variant_noexcept |
| void const * | ptr () const variant_noexcept |
| template<class U > | |
| U * | as () |
| template<class U > | |
| U const * | as () const |
| variant_constexpr std::size_t | max_index () const variant_noexcept |
| variant_constexpr type_index_t | variant_npos_internal () const variant_noexcept |
| variant & | copy_assign (variant const &rhs) |
| template<class T , std::size_t I> | |
| variant & | copy_assign_value (T const &value) |
| void | swap_value (std::size_t index, variant &rhs) |
| typedef | variant_ALIGN_AS (max_type) align_as_type |
Private Attributes | |
| aligned_storage_t | data |
| type_index_t | type_index |
Definition at line 813 of file variant.hpp.
|
private |
Definition at line 899 of file variant.hpp.
|
private |
Definition at line 1282 of file variant.hpp.
|
private |
Definition at line 1122 of file variant.hpp.
|
private |
| Enumerator | |
|---|---|
| data_size | |
Definition at line 1265 of file variant.hpp.
|
inline |
Definition at line 903 of file variant.hpp.
|
inline |
Definition at line 905 of file variant.hpp.
|
inline |
Definition at line 906 of file variant.hpp.
|
inline |
Definition at line 907 of file variant.hpp.
|
inline |
Definition at line 908 of file variant.hpp.
|
inline |
Definition at line 909 of file variant.hpp.
|
inline |
Definition at line 910 of file variant.hpp.
|
inline |
Definition at line 911 of file variant.hpp.
|
inline |
Definition at line 923 of file variant.hpp.
|
inline |
Definition at line 974 of file variant.hpp.
|
inlineprivate |
Definition at line 1135 of file variant.hpp.
|
inlineprivate |
Definition at line 1141 of file variant.hpp.
|
inlineprivate |
Definition at line 1156 of file variant.hpp.
|
inlineprivate |
Definition at line 1231 of file variant.hpp.
|
inline |
Definition at line 1082 of file variant.hpp.
|
inline |
Definition at line 1095 of file variant.hpp.
|
inline |
Definition at line 1109 of file variant.hpp.
|
inline |
Definition at line 1116 of file variant.hpp.
|
inline |
Definition at line 1008 of file variant.hpp.
|
inline |
Definition at line 1076 of file variant.hpp.
|
inlineprivate |
Definition at line 1146 of file variant.hpp.
|
inline |
Definition at line 979 of file variant.hpp.
|
inline |
Definition at line 999 of file variant.hpp.
|
inline |
Definition at line 1000 of file variant.hpp.
|
inline |
Definition at line 1001 of file variant.hpp.
|
inline |
Definition at line 1002 of file variant.hpp.
|
inline |
Definition at line 1003 of file variant.hpp.
|
inline |
Definition at line 1004 of file variant.hpp.
|
inline |
Definition at line 1005 of file variant.hpp.
|
inlineprivate |
Definition at line 1124 of file variant.hpp.
|
inlineprivate |
Definition at line 1129 of file variant.hpp.
|
inline |
Definition at line 1053 of file variant.hpp.
|
inlineprivate |
Definition at line 1249 of file variant.hpp.
|
inline |
Definition at line 1013 of file variant.hpp.
|
private |
|
inlineprivate |
Definition at line 1151 of file variant.hpp.
|
private |
|
private |
Definition at line 1287 of file variant.hpp.
|
private |
Definition at line 1293 of file variant.hpp.
1.8.14