STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Static Public Member Functions
stapl::index_bounds< T > Struct Template Reference

Class to determine the bounds (min, max, error) of an index or GID. More...

Static Public Member Functions

static T lowest (void)
 Return the lowest value for an index. If the index is integral, this is equivalent to std::numeric_limits<T>::min(). If T is a float, this will be -std::numeric_limits<T>::max().
 
static T highest (void)
 Return the highest value for an index. This is equivalent to std::numeric_limits<T>::max().
 
static T smallest (void)
 Return the smallest positive normalized value for an index. If the index is integral, this will be 0.
 
static T invalid (void)
 Return a designated "invalid" value for a GID.
 

Detailed Description

template<typename T>
struct stapl::index_bounds< T >

Class to determine the bounds (min, max, error) of an index or GID.

Template Parameters
TThe index type. Typically a container GID or view index_type.

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