[#BloombergLP-bslstl-UnorderedSetKeyConfiguration-extractKey]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/UnorderedSetKeyConfiguration.adoc[UnorderedSetKeyConfiguration]::extractKey
:relfileprefix: ../../../
:mrdocs:

Given a specified `object`, return a reference to the `KeyType` contained within that object&period; In this case, the `KeyType` returned is simply the object itself&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;unorderedsetkeyconfiguration&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslstl/UnorderedSetKeyConfiguration/KeyType.adoc[UnorderedSetKeyConfiguration&lt;VALUE&lowbar;TYPE&gt;::KeyType] const&
extractKey(VALUE&lowbar;TYPE const& object);
----

== Return Value

const reference to the `KeyType` within `object` (the object itself)

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| value from which the key is extracted
|===


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