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

Finds all elements of the first list which are not present in the second list, and returns a new list without the common elements. For example, if there are 2 lists:

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

the returned list will be:

[ 3, 1 ]. More...

#include <list_functions.hpp>

Detailed Description

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

Finds all elements of the first list which are not present in the second list, and returns a new list without the common elements. For example, if there are 2 lists:

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

the returned list will be:

[ 3, 1 ].

Template Parameters
List1The first list to search through
List2The second list to search through

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