Template Struct InitializerListDepth

Struct Documentation

template<typename T>
struct InitializerListDepth

Base case of initializer list dimension checking.

The intension is that if you have some initailizer list of unspecified dimension as the template argument T, InitializerListDepth<T>::value will be the dimension of that initializer list type.

Template Parameters

T – A value or initializer list.

Public Types

using type = T

The internal type of the initializer list.

Public Static Attributes

static constexpr size_t value = 0

The dimension of the initializer list.