[#bsl-Pair_First-02]
= xref:bsl.adoc[bsl]::xref:bsl/Pair_First-00.adoc[Pair&lowbar;First]&lt;TYPE&&gt;
:relfileprefix: ../
:mrdocs:

This component&hyphen;private `class` holds the `first` data member of a `pair` when that member is an lvalue&hyphen;reference&period; Note that the C&plus;&plus; Standard defines the assignment operator to assign through the reference in this case, where the implicitly declared assignment operator would be deleted&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
struct xref:bsl/Pair_First-00.adoc[Pair&lowbar;First]&lt;TYPE&&gt;;
----

== Protected Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:bsl/Pair_First-02/2constructor-0ec.adoc[`Pair&lowbar;First`]         [.small]#[constructor]#
| Constructors
| xref:bsl/Pair_First-02/operator_assign.adoc[`operator&equals;`] 
| Assign to the object bound to `first` the value of the object bound to &apos;rhs&period;first&apos;, and return a reference offering modifiable access to this object&period; Note that this operations assigns through the reference, it does not rebind the reference&period;
|===


== Protected Data Members

[cols="1"]
|===
| Name
| xref:bsl/Pair_First-02/first.adoc[`first`] 
|===



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