Create a scoped guard for exception-safe node initialization.
Declared in <bdlcc_skiplist.h>
SkipList_NodeCreationHelper(
PoolManager* poolManager,
Node* node,
bslma::Allocator* basicAllocator = 0);
Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| Name | Description |
|---|---|
| poolManager | pool manager for list nodes |
| node | node to initialize |
| basicAllocator | allocator used to supply memory |