util::insert

Insert all elements of src into a std::set.

Synopsis

Declared in <util/insert.h>

template<
    typename TsetT,
    typename Tsrc>
void
insert(
    std::set<TsetT>& dst,
    Tsrc const& src);

Parameters

NameDescription
dstThe set to insert into.
srcThe container whose elements are inserted.