bsl::set::set

Create a set by moving the contents of the specified original.

Synopsis

Declared in <bslstl_set.h>

set(BloombergLP::bslmf::MovableRef<set> original);

Description

Use a copy of original.key_comp() to order the keys contained in this set. The allocator associated with original is propagated for use in the newly-created set. original is left in a valid but unspecified state.

Parameters

NameDescription
originalset whose contents are moved