blaze::IntegralC< T, N > Struct Template Reference

Generic wrapper for a compile time constant integral value.The IntegralC class template represents a generic wrapper for a compile time constant integral value. The value of an IntegralC can be accessed via the nested value (which is guaranteed to be of type T), the type can be accessed via the nested type definition ValueType. More...

#include <IntegralC.h>

Detailed Description

template<typename T, T N>
struct blaze::IntegralC< T, N >

Generic wrapper for a compile time constant integral value.

The IntegralC class template represents a generic wrapper for a compile time constant integral value. The value of an IntegralC can be accessed via the nested value (which is guaranteed to be of type T), the type can be accessed via the nested type definition ValueType.

using namespace blaze;
IntegralC<int,3>::value // Evaluates to 3

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