Spatial C++ Library
Generic Multi-Dimensional Containers and Spatial Operations
spatial::details::Static_rank< Value > Struct Template Reference

The dimension value is set by a template value, thus consuming no memory. More...

#include <spatial_rank.hpp>

Public Member Functions

dimension_type operator() () const
 Returns the dimension for the rank specified in the template parameter Value. More...
 

Detailed Description

template<dimension_type Value>
struct spatial::details::Static_rank< Value >

The dimension value is set by a template value, thus consuming no memory.

Template Parameters
ValueThe magnitude of the rank.

Definition at line 30 of file spatial_rank.hpp.

Member Function Documentation

template<dimension_type Value>
dimension_type spatial::details::Static_rank< Value >::operator() ( ) const

Returns the dimension for the rank specified in the template parameter Value.

Definition at line 34 of file spatial_rank.hpp.


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