iterator insert(const value_type &x)
Insert a single key if the key is not in the container.
An iterator positioned on the newly inserted key. If the key x already exists, an invalid iterator equal to that returned by end() function is returned.
iterator insert(iterator position, const value_type &x)
Insert a single key with hint if the key is not in the container.
The hint position is ignored because Berkeley DB controls where to insert the key.
An iterator positioned on the newly inserted key. If the key x already exists, an invalid iterator equal to that returned by end() function is returned.
void insert(InputIterator first, InputIterator last)
Range insertion.
Insert a range [first, last) of key/data pairs into this container.
void insert(db_set_iterator< kdt, value_type_sub > &first, db_set_iterator< kdt, value_type_sub > &last)
Range insertion.
Insert a range [first, last) of key/data pairs into this container.
void insert(db_set_base_iterator< kdt > &first, db_set_base_iterator< kdt > &last)
Range insertion.
Insert a range [first, last) of key/data pairs into this container.