STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
stapl::view_impl::add_value< T, N, Policy, size_type, typename > Struct Template Reference

Static functor that adds initial value to the index provided to the counting_container, forming the return value (either a tuple or a single integral value, based on dimension). Signatures for both receiving the index as a tuple or a variadic pack of constituent indices are provided, to back operator[] and operator() of the counting_container, respectively. More...

Detailed Description

template<typename T, int N, typename Policy, typename size_type, typename = make_index_sequence<N>>
struct stapl::view_impl::add_value< T, N, Policy, size_type, typename >

Static functor that adds initial value to the index provided to the counting_container, forming the return value (either a tuple or a single integral value, based on dimension). Signatures for both receiving the index as a tuple or a variadic pack of constituent indices are provided, to back operator[] and operator() of the counting_container, respectively.


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