BloombergLP::ball::swap

Exchange the values of the specified trees.

Synopsis

Declared in <ball_categorymanager_radixtree.h>

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

NOTE

This function is a hidden friend of CategoryManager_RadixTree, declared only inside that class: it can be found only through argument-dependent lookup.

Parameters

NameDescription
afirst tree to exchange
bsecond tree to exchange