[#BloombergLP-ball-swap-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::swap :relfileprefix: ../../ :mrdocs: Exchange the values of the specified trees. == Synopsis Declared in `<ball_categorymanager_radixtree.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_TYPE> void swap( xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager_RadixTree<t_TYPE>]& a, xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager_RadixTree<t_TYPE>]& b); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:BloombergLP/ball/CategoryManager_RadixTree.adoc[CategoryManager_RadixTree], declared only inside that class: it can be found only through argument-dependent lookup. ==== == Parameters [cols="1,4"] |=== | Name| Description | *a* | first tree to exchange | *b* | second tree to exchange |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#