Nano
A C++ template metaprogramming library
|
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>
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 ].
List1 | The first list to search through |
List2 | The second list to search through |