CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
IndexOf.hpp File Reference
#include "TypeList.hpp"
#include <type_traits>

Go to the source code of this file.

Classes

struct  CeresEngine::MPL::IndexOfHelper< T, TypeList< T, Ts... > >
 IndexOf base case: found the type we're looking for. More...
 
struct  CeresEngine::MPL::IndexOfHelper< T, TypeList< TOther, Ts... > >
 IndexOf recursive case: 1 + IndexOf the rest of the types. More...
 

Namespaces

namespace  CeresEngine
 
namespace  CeresEngine::MPL
 

Variables

template<typename T , typename TTypeList >
constexpr size_t CeresEngine::MPL::IndexOf = IndexOfHelper<T, TTypeList>::value
 Interface alias.