Copy‐construct key and data into the managed node.
Synopsis
Declared in <bdlcc_skiplist.h>
void
construct(
KEY const& key,
DATA const& data);
Description
Note that if an exception is thrown during the invocation of either constructor, the node will remain under management and thus the destructor of this object will do the appropriate cleanup. The behavior is undefined if construct has already been invoked on this scoped guard object.
Parameters
Name |
Description |
key |
key of the pair |
data |
data associated with |
Created with MrDocs