Create a skip list with the same value as original.

Synopsis

Declared in <bdlcc_skiplist.h>

SkipList(
    SkipList const& original,
    bslma::Allocator* basicAllocator = 0);

Description

Create a skip list initialized to the specified original.

Create a new Skip List initialized to the value of the specified original list. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

original

source object providing the initial value

basicAllocator

allocator used to supply memory

Created with MrDocs