Sane C++ Libraries
C++ Platform Abstraction Libraries
SC::TaggedType< EnumType, enumValue, MemberType > Struct Template Reference

Associate a Type to an Enum, as required by TaggedUnion. More...

#include <TaggedUnion.h>

Public Types

using type = MemberType
 
using enumType = EnumType
 

Static Public Attributes

static constexpr EnumType value = enumValue
 

Detailed Description

template<typename EnumType, EnumType enumValue, typename MemberType>
struct SC::TaggedType< EnumType, enumValue, MemberType >

Associate a Type to an Enum, as required by TaggedUnion.

Template Parameters
EnumTypeType of the enumeration
MemberTypeType of member of the union
enumValueEnumeration value that represents the Type

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