variant_types< T > Struct Template Reference
  Metafunction that for a given type T, returns a meta::pack containing the list of types that can be held in the variant.  
 More...
#include <atria/variant/variant_types.hpp>
Detailed Description
template<typename T>
struct atria::variant::variant_types< T >
Metafunction that for a given type T, returns a meta::pack containing the list of types that can be held in the variant. 
If T is qualified (e.g. const&) the qualification is copied into the types returned.
By default, this metafunction just accesses decay_t<T>::variant_types to get the list of unqualified types. A type might alternatively specialize variant_types_impl<T> to override this behaviour. 
Definition at line 82 of file variant_types.hpp.
The documentation for this struct was generated from the following file:
- src/atria/variant/variant_types.hpp
 
          
          
 1.8.10
 1.8.10
  