BloombergLP::ball::swap

Exchange the values of the specified a and b objects.

Synopsis

Declared in <ball_categorymanager_radixtree.h>

template<class t_VALUE>
void
swap(
    CategoryManager_RadixTree<t_VALUE>& a,
    CategoryManager_RadixTree<t_VALUE>& b);

Description

This function provides the no-throw exception-safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise.

Parameters

NameDescription
afirst tree to exchange
bsecond tree to exchange