STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
stapl::safe_tuple_element< I, Tuple, Default > Struct Template Reference

Metafunction that acts like tuple_element except when the index is -1, in which case it gives a default type instead. More...

Detailed Description

template<int I, class Tuple, class Default>
struct stapl::safe_tuple_element< I, Tuple, Default >

Metafunction that acts like tuple_element except when the index is -1, in which case it gives a default type instead.

Template Parameters
Ithe int index of the element to get
Tuplethe tuple to index into

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