[#util-insert-04] = xref:util.adoc[util]::insert :relfileprefix: ../ :mrdocs: Insert all elements of src into a std::set with a custom comparator. == Synopsis Declared in `<util/insert.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename TsetT, typename Compare, typename Tsrc> void insert( std::set<TsetT, Compare>& dst, Tsrc const& src); ---- == Parameters [cols="1,4"] |=== | Name| Description | *dst* | The set to insert into. | *src* | The container whose elements are inserted. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#