[#BloombergLP-bdlcc-SkipList-0a-2constructor-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList]::SkipList :relfileprefix: ../../../ :mrdocs: Create a skip list with the same value as `original`. == Synopsis Declared in `<bdlcc_skiplist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- SkipList( xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList] const& original, xref:BloombergLP/bslma/Allocator.adoc[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 [cols="1,4"] |=== | Name| Description | *original* | source object providing the initial value | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#