Thrill  0.1
SWITCH< Tag, Case > Class Template Reference

Detailed Description

template<int Tag, class Case>
class foxxll::SWITCH< Tag, Case >

Definition at line 39 of file tmeta.hpp.

#include <tmeta.hpp>

Public Types

using type = typename std::conditional< found, typename Case::Type, typename SWITCH< Tag, NextCase >::type >::type
 

Private Types

enum  { caseTag = Case::tag, found = (caseTag == Tag || caseTag == DEFAULT) }
 
using NextCase = typename Case::Next
 

Member Typedef Documentation

◆ NextCase

using NextCase = typename Case::Next
private

Definition at line 41 of file tmeta.hpp.

◆ type

using type = typename std::conditional< found, typename Case::Type, typename SWITCH<Tag, NextCase>::type >::type

Definition at line 53 of file tmeta.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
caseTag 
found 

Definition at line 42 of file tmeta.hpp.


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