[#bsl-get-00c] = xref:bsl.adoc[bsl]::get :relfileprefix: ../ :mrdocs: Return a modifiable reference to the `INDEX`th element of `p`. == Synopsis Declared in `<bslstl_pair.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< std::size_t INDEX, class T1, class T2> std::tuple_element<INDEX, bsl::pair<T1, T2>>::type& get(xref:bsl/pair-0b.adoc[bsl::pair<T1, T2>]& p) noexcept; ---- == Description Return a reference providing modifiable access to the element of the specified `p`, having the ordinal number specified by the (template parameter) `INDEX`. This function will not compile unless the `INDEX` is either 0 or 1. == Return Value modifiable reference to the `INDEX`th element of `p` == Parameters [cols="1,4"] |=== | Name| Description | *p* | pair whose element is returned |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#