Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::IndexInTypes< T, Us > Struct Template Reference

Get the index of a type T in a pack of types (variadic templates) or a TypeWrapper. More...

#include <vclib/base/variadic_templates.h>

Static Public Attributes

static constexpr uint value = indexInTypePack<T, Us...>()
 

Detailed Description

template<typename T, typename... Us>
struct vcl::IndexInTypes< T, Us >

Get the index of a type T in a pack of types (variadic templates) or a TypeWrapper.

Usage:

static_assert(i == 0, "");
A class representing a box in N-dimensional space.
Definition box.h:46
Get the index of a type T in a pack of types (variadic templates) or a TypeWrapper.
Definition variadic_templates.h:138

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