Calico
 All Classes Namespaces Files Functions Variables Typedefs Friends Groups
cal::extent< T, N > Struct Template Reference

Obtains the number of elements along the N-th dimension (or zero if unknown or outside bounds). More...

#include <cxx11.hpp>

+ Inheritance diagram for cal::extent< T, N >:

Public Types

typedef integral_constant type
 Type of the integral_constant.
 
typedef std::size_t value_type
 Type of the value.
 

Public Member Functions

constexpr operator value_type () const
 Converts the integral constant type into its constant value.
 

Static Public Attributes

static const value_type value
 Value stored in this type.
 

Detailed Description

template<class T, unsigned N = 0>
struct cal::extent< T, N >

Obtains the number of elements along the N-th dimension (or zero if unknown or outside bounds).