[#BloombergLP-bdlc-FlatHashSet-operator_assign-003] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet]::operator= :relfileprefix: ../../../ :mrdocs: Assignment operators == Synopses Declared in `<bdlc_flathashset.h>` Assign to this object the value, hasher, and equality functor of the specified `rhs` object, and return a reference providing modifiable access to this object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet<KEY, HASH, EQUAL>]& xref:BloombergLP/bdlc/FlatHashSet/operator_assign-08.adoc[operator=](xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet] const& rhs); ---- [.small]#xref:BloombergLP/bdlc/FlatHashSet/operator_assign-08.adoc[_» more..._]# Assign to this object the value, hasher, and equality comparator of the specified `rhs` object, and return a reference providing modifiable access to this object. If this object and `rhs` use the same allocator the contents of `rhs` are moved (in constant time) to this object. `rhs` is left in a (valid) unspecified state. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet<KEY, HASH, EQUAL>]& xref:BloombergLP/bdlc/FlatHashSet/operator_assign-09.adoc[operator=](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<FlatHashSet>] rhs); ---- [.small]#xref:BloombergLP/bdlc/FlatHashSet/operator_assign-09.adoc[_» more..._]# Assign to this object the value resulting from first clearing this set and then inserting each object in the specified `values` initializer list, ignoring those objects having a value equivalent to that which appears earlier in the list; return a reference providing modifiable access to this object. This method requires that the (template parameter) type `KEY` be `copy‐insertable` into this set (see {Requirements on `KEY`, `HASH`, and `EQUAL`}). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet<KEY, HASH, EQUAL>]& xref:BloombergLP/bdlc/FlatHashSet/operator_assign-00d.adoc[operator=](bsl::initializer_list<KEY> values); ---- [.small]#xref:BloombergLP/bdlc/FlatHashSet/operator_assign-00d.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#