Nano
A C++ template metaprogramming library
nano::find_uncommon_indices< List1, List2 > Struct Template Reference

Finds the indices of the elements in the first list which are not present in the second list and returns a list of the index values. For example, if there are 2 lists:

[ 2, 3, 1, 4 ] and [ 4, 5, 2 ]

the returned list will be:

[ 1, 3 ]. More...

#include <list_functions.hpp>

Detailed Description

template<typename List1, typename List2>
struct nano::find_uncommon_indices< List1, List2 >

Finds the indices of the elements in the first list which are not present in the second list and returns a list of the index values. For example, if there are 2 lists:

[ 2, 3, 1, 4 ] and [ 4, 5, 2 ]

the returned list will be:

[ 1, 3 ].

Template Parameters
List1The list to get the indices of
List2The list to check for elements against

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