[#BloombergLP-bdlcc-SkipList-0a-2constructor-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList]::SkipList
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bdlcc&lowbar;skiplist&period;h&gt;`

Create a new empty skip list&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlcc/SkipList-0a/2constructor-09.adoc[SkipList](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlcc/SkipList-0a/2constructor-09.adoc[_» more&period;&period;&period;_]#

Create a skip list with the same value as `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlcc/SkipList-0a/2constructor-06.adoc[SkipList](
    xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlcc/SkipList-0a/2constructor-06.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| allocator used to supply memory
| *original*
| source object providing the initial value
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
