BloombergLP::ball::swap

swap overloads

Synopses

Declared in <ball_categorymanager_radixtree.h>

Swap the value of the specified a object with the value of the specified b object. This method provides the no-throw exception-safety guarantee if either a.type() is the same as b.type() and a and b were created with the same allocator, or neither a.type() nor b.type() is a type that requires allocation; otherwise, it provides the basic guarantee.

void
swap(
    UserFieldValue& a,
    UserFieldValue& b);
» more...

Swap the value of the specified a object with the value of the specified b object. If a and b were created with the same allocator, then this method provides the no-throw exception-safety guarantee; otherwise, it provides the basic guarantee.

void
swap(
    UserFields& a,
    UserFields& b);
» more...

Exchange the values of the specified trees.

void
swap(
    CategoryManager_RadixTree<t_TYPE>& a,
    CategoryManager_RadixTree<t_TYPE>& b);
» more...

Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise.

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