[#BloombergLP-bdlcc-SkipList_NodeCreationHelper-construct]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList_NodeCreationHelper.adoc[SkipList&lowbar;NodeCreationHelper]::construct
:relfileprefix: ../../../
:mrdocs:

Copy&hyphen;construct `key` and `data` into the managed node&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
construct(
    KEY const& key,
    DATA const& data);
----

== Description

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&period; The behavior is undefined if `construct` has already been invoked on this scoped guard object&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| key of the pair
| *data*
| data associated with `key`
|===


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