Create a set having the same value as the specified original.
Synopsis
Declared in <bslstl_set.h>
set(set const& original);
Description
Use a copy of original.key_comp() to order the keys contained in this set. Use the allocator returned by `bsl::allocator_traits<ALLOCATOR>:: select_on_container_copy_construction(original.get_allocator())` to allocate memory. This method requires that the (template parameter) type KEY be copy‐insertable into this set (see {Requirements on KEY}).
Parameters
Name |
Description |
original |
set whose value is copied |
Created with MrDocs