tinympl  0.2
mini MPL library for C++11
tinympl::set_union< SequenceA, SequenceB, Out > Class Template Reference

Computes the union of two sets. More...

#include <tinympl/set_union.hpp>

Detailed Description

template<class SequenceA, class SequenceB, template< class...> class Out = as_sequence<SequenceA>::template rebind>
class tinympl::set_union< SequenceA, SequenceB, Out >

Computes the union of two sets.

Parameters
SequenceAThe sequence which represents the first set - duplicates are ignored
SequenceBThe sequence which represents the second set - duplicates are ignored
Outthe output sequence type - defaults to the same kind of SequenceA
Returns
A type templated from Out which contains the resulting sequence
Note
If seq<A...> and seq<B...> are the two input sequences, the resulting sequence is constructed as unique< seq<A...,B...> >

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