[#BloombergLP-bdlc-FlatHashTable-insert-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable]::insert :relfileprefix: ../../../ :mrdocs: `insert` overloads == Synopses Declared in `<bdlc_flathashtable.h>` Same as the preceding overload, moving from the specified `entry`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/pair-0b.adoc[bsl::pair<FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL>::iterator, bool>] xref:BloombergLP/bdlc/FlatHashTable/insert-00.adoc[insert](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<ENTRY>] entry); ---- [.small]#xref:BloombergLP/bdlc/FlatHashTable/insert-00.adoc[_» more..._]# Insert the specified `entry` into this table if the key of the `entry` does not already exist in this table; otherwise, this method has no effect. Return a `pair` whose `first` member is an iterator referring to the (possibly newly inserted) object in this table whose key is the equal to that of the object to be inserted, and whose `second` member is `true` if a new entry was inserted, and `false` if a entry having an equal key was already present. Bitwise movable types that are not bitwise copyable will be copied (to avoid confusion with regard to calling the `entry` destructor after this call). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/pair-0b.adoc[bsl::pair<FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL>::iterator, bool>] xref:BloombergLP/bdlc/FlatHashTable/insert-08.adoc[insert](ENTRY const& entry); ---- [.small]#xref:BloombergLP/bdlc/FlatHashTable/insert-08.adoc[_» more..._]# Create an object for each iterator in the range starting at the specified `first` iterator and ending immediately before the specified `last` iterator, by converting from the object referred to by each iterator. Insert into this table each such object whose key is not already contained. The (template parameter) type `INPUT_ITERATOR` shall meet the requirements of an input iterator defined in the C++11 standard [24.2.3]providing access to values of a type convertible to `ENTRY`. The behavior is undefined unless `first` and `last` refer to a sequence of valid values where `first` is at a position at or before `last`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class INPUT_ITERATOR> void xref:BloombergLP/bdlc/FlatHashTable/insert-06.adoc[insert]( INPUT_ITERATOR first, INPUT_ITERATOR last); ---- [.small]#xref:BloombergLP/bdlc/FlatHashTable/insert-06.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#