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

Return the member `first` of the specified object `obj`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
KEY const&
extractKey(VALUE&lowbar;TYPE const& obj);
----

== Description

`obj&period;first` must be of type `VALUE&lowbar;TYPE&colon;&colon;first&lowbar;type`, which is the `key` portion of `obj`&period;

== Return Value

const reference to the key (`first`) member of `obj`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *obj*
| value object from which to extract the key
|===


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