Morpheus 1.0.0
Dynamic matrix type and algorithms for sparse matrices
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
Morpheus::is_variant_member< T, Variant > Class Template Reference

Checks if the given type T is a member of Variant container such as std::variant or mpark::variant. More...

#include <Morpheus_TypeTraits.hpp>

Static Public Attributes

static const bool value
 

Detailed Description

template<typename T, typename Variant>
class Morpheus::is_variant_member< T, Variant >

Checks if the given type T is a member of Variant container such as std::variant or mpark::variant.

Template Parameters
TType passed for check
VariantA variant container

Member Data Documentation

◆ value

template<typename T , typename Variant >
const bool Morpheus::is_variant_member< T, Variant >::value
static
Initial value:
=
sizeof(test<T, Variant>(nullptr, nullptr)) == sizeof(yes)

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