blaze::Int< N > Struct Template Reference

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

#include <Int.h>

Inherits blaze::IntegralConstant< int, N >.

Detailed Description

template<int N>
struct blaze::Int< N >

Compile time integral constant wrapper for int.

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

using namespace blaze;
Int<3>::value // Evaluates to 3
Int<5>::ValueType // Results in int

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