emplace_hint overloads
Declared in <folly/container/sorted_vector_types.h>
Inserts value near hint if it is absent; equivalent to insert.
iterator
emplace_hint(
const_iterator hint,
value_type const& value);
» more...
Inserts value near hint if it is absent; equivalent to insert.
iterator
emplace_hint(
const_iterator hint,
value_type&& value);
» more...
emplace_hint isn't better than insert for sorted_vector_set, but aids compatibility
template<typename... Args>
iterator
emplace_hint(
const_iterator hint,
Args&&... args);
» more...
An iterator to the inserted or existing element.
| Name | Description |
|---|---|
| hint | Position guess for where the element belongs. |
| value | The element to insert. |
| args | Arguments used to construct the element. |