13 #ifndef TINYMPL_SET_INTERSECTION_HPP
14 #define TINYMPL_SET_INTERSECTION_HPP
16 #include <tinympl/variadic/count.hpp>
17 #include <tinympl/variadic/copy_if.hpp>
18 #include <tinympl/as_sequence.hpp>
19 #include <tinympl/sequence.hpp>
20 #include <tinympl/bind.hpp>
37 template<
class SequenceA,
39 template<
class ...>
class Out = as_sequence<SequenceA>::template rebind>
44 template<
class ... Ts,
class ... Us,
template<
class ...>
class Out>
47 bind<variadic::count, arg1, Us...>::template eval_t,
53 #endif // TINYMPL_SET_INTERSECTION_HPP
Computes the intersection between two sets.
Definition: set_intersection.hpp:40
The main sequence type.
Definition: sequence.hpp:28
Copy the elements of a given input sequence which satisfy a given predicate - the ordering is preserv...
Definition: copy_if.hpp:36