BloombergLP::ball::CategoryManager_RadixTree::operator=

Assign to this object the value of the specified rhs object.

Synopsis

Declared in <ball_categorymanager_radixtree.h>

CategoryManager_RadixTree<t_VALUE>&
operator=(bslmf::MovableRef<CategoryManager_RadixTree> rhs);

Description

Return a reference providing modifiable access to this object. The contents of rhs are moved (in amortized constant time) to this object if get_allocator() == rhs.get_allocator(); otherwise, all elements in this object are either destroyed or move-assigned to, and each additional element in rhs is move-inserted into this object. rhs is left in a valid but unspecified state.

Return Value

reference providing modifiable access to this object

Parameters

NameDescription
rhstree to move-assign from