MCPcopy Create free account
hub / github.com/Tessil/ordered-map / insert_at_position

Method insert_at_position

include/tsl/ordered_map.h:808–811  ·  view source on GitHub ↗

* Insert the value before pos shifting all the elements on the right of pos * (including pos) one position to the right. * * O(bucket_count()) runtime complexity. */

Source from the content-addressed store, hash-verified

806 * O(bucket_count()) runtime complexity.
807 */
808 std::pair<iterator, bool> insert_at_position(const_iterator pos,
809 const value_type& value) {
810 return m_ht.insert_at_position(pos, value);
811 }
812
813 /**
814 * @copydoc insert_at_position(const_iterator pos, const value_type& value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected