Copy-construct key and data into the managed node.
Declared in <bdlcc_skiplist.h>
void
construct(
KEY const& key,
DATA const& data);
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.
| Name | Description |
|---|---|
| key | key of the pair |
| data | data associated with key |