Berkeley DB Reference Version 5.3.35

swap

Function Details

void swap(db_multiset< kdt, value_type_sub > &mp,
    bool b_truncate=true)
 

Swap content with another container.

This function supports auto-commit.

Parameters

b_truncate

See db_multimap::swap() for details.

mp

The container to swap content with.

See Also

db_map::swap() db_vector::clear()

Class

db_multiset