STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
stapl::detail::traversal_order< Tuple, Traversal, Indices > Struct Template Reference

Rearrange the contents of a tuple to be in the correct traversal order. More...

Detailed Description

template<typename Tuple, typename Traversal, typename Indices = make_index_sequence<tuple_size<Traversal>::value>>
struct stapl::detail::traversal_order< Tuple, Traversal, Indices >

Rearrange the contents of a tuple to be in the correct traversal order.

For example, given the tuple (x, y, z) and the traversal <1, 2, 0>, output the tuple (z, x, y).

Template Parameters
TupleType of the run-time tuple of std::size_ts
TraversalTraversal ordering.

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