A class template can be used to create a compile-time sequence of integers This is used mostly with std::get<T> to access elements of a tuple.
The template parameter of this template is the number of elemnts in the sequence. Negative values are not supported. The generated list of integers can be accessed through the type typedef.
A templated class that always contains a 'false' value. This is used to generate compilation errors when a user calls a specific function (by causing a compilation error when a function is instantiated rather than when it is defined.)
Example:
#include <utility/YiTypeTraits.h>
Static Public Attributes | |
| static const bool | value = false |
|
static |