swap

Function Details

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

Swap content with another container.

This function supports auto-commit.

Parameters

b_truncate

See db_vector::swap 's b_truncate parameter for details.

mp

The container to swap content with.

Class

db_set