BloombergLP::ball::CategoryManager_RadixTree::emplace

Insert into this tree an entry with the specified key and a newly created t_VALUE object, constructed by forwarding get_allocator() (if required) and the specified (variable number of) args to the corresponding constructor of t_VALUE. Return a pair consisting of a reference to the value associated with key (whether newly inserted or already existing) and a boolean indicating whether insertion took place (true if the key was not already present, false otherwise). This method requires that t_VALUE be emplace-constructible from args.

Synopsis

Declared in <ball_categorymanager_radixtree.h>

template<class... Args>
CategoryManager_RadixTree<t_VALUE>::EmplaceResult
emplace(
    std::string_view const& key,
    Args&&... args);