|
sumty
0.1.0
Better sum types for C++
|
Utility to get the type of a variant alternative with some index. More...
#include <sumty/variant.hpp>
Related Functions | |
(Note that these are not member functions.) | |
| template<size_t I, typename T > | |
| using | variant_alternative_t = typename variant_alternative< I, T >::type |
| Utility to get the type of a variant alternative with some index. More... | |
Utility to get the type of a variant alternative with some index.
variant_alternative provides the type of an alternative with the index I in the member type, type.
|
related |
Utility to get the type of a variant alternative with some index.
variant_alternative_t is the type of an alternative with the index I.
| I | The index of the @variant alternative |
| T | The variant type containing the alternative |