STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
stapl::find_first_indices< Subset, AllValues, typename > Struct Template Reference

Metafunction to find the indices of values in one tuple in another tuple. More...

Detailed Description

template<typename Subset, typename AllValues, typename = make_index_sequence<tuple_size<Subset>::value>>
struct stapl::find_first_indices< Subset, AllValues, typename >

Metafunction to find the indices of values in one tuple in another tuple.

For example, say we have the tuple <2,5,7> and the superset tuple <1,2,3,5,7,8>. The output is expected to be <1,3,4>.

Template Parameters
SubsetTuple of values that we are searching for.
AllValuesTuple of all values. Should be a superset of Subset

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