Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Types
ext::variant_builder_impl< std::variant< ResTs ... > > Struct Template Reference

Recursion ending specialisation of the helper class to build the variant type. The last type T is added as last type to the variant parameters. More...

#include <variant.hpp>

Public Types

typedef std::variant< ResTs ... > std_variant
 
template<class T >
using index_in = ext::index_in< T, ResTs ... >
 

Detailed Description

template<class ... ResTs>
struct ext::variant_builder_impl< std::variant< ResTs ... > >

Recursion ending specialisation of the helper class to build the variant type. The last type T is added as last type to the variant parameters.

Template Parameters
ResTs... pack of types already accepted as types of the variant
Tlast type to construct the variant from

Member Typedef Documentation

◆ index_in

template<class ... ResTs>
template<class T >
using ext::variant_builder_impl< std::variant< ResTs ... > >::index_in = ext::index_in < T, ResTs ... >

◆ std_variant

template<class ... ResTs>
typedef std::variant< ResTs ... > ext::variant_builder_impl< std::variant< ResTs ... > >::std_variant

The documentation for this struct was generated from the following file: