Wildmeshing Toolkit
wmtk::utils::metaprogramming::detail::as_variant_impl< BaseVariantTraitsType, IsConst, TupleType, Index > Struct Template Reference

#include <as_variant.hpp>

Public Types

using RetType = typename BaseVariantTraitsType::ReferenceVariant
 
using BaseType = typename BaseVariantTraitsType::BaseType
 

Static Public Member Functions

static RetType exec (BaseType &value, size_t index)
 

Detailed Description

template<typename BaseVariantTraitsType, bool IsConst, typename TupleType, size_t Index>
struct wmtk::utils::metaprogramming::detail::as_variant_impl< BaseVariantTraitsType, IsConst, TupleType, Index >

Definition at line 8 of file as_variant.hpp.

Member Typedef Documentation

◆ BaseType

template<typename BaseVariantTraitsType , bool IsConst, typename TupleType , size_t Index>
using wmtk::utils::metaprogramming::detail::as_variant_impl< BaseVariantTraitsType, IsConst, TupleType, Index >::BaseType = typename BaseVariantTraitsType::BaseType

Definition at line 11 of file as_variant.hpp.

◆ RetType

template<typename BaseVariantTraitsType , bool IsConst, typename TupleType , size_t Index>
using wmtk::utils::metaprogramming::detail::as_variant_impl< BaseVariantTraitsType, IsConst, TupleType, Index >::RetType = typename BaseVariantTraitsType::ReferenceVariant

Definition at line 10 of file as_variant.hpp.

Member Function Documentation

◆ exec()

template<typename BaseVariantTraitsType , bool IsConst, typename TupleType , size_t Index>
static RetType wmtk::utils::metaprogramming::detail::as_variant_impl< BaseVariantTraitsType, IsConst, TupleType, Index >::exec ( BaseType value,
size_t  index 
)
static

Referenced by wmtk::utils::metaprogramming::detail::as_variant_impl< BaseVariantTraitsType, IsConst, std::tuple< DerivedTypes... >, Index >::exec().

Here is the caller graph for this function:

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