[#bsl-select2nd] = xref:bsl.adoc[bsl]::select2nd :relfileprefix: ../ :mrdocs: This `struct` is a functor that returns the `second` member of its `PAIR` argument. == Synopsis Declared in `<bslstp_exfunctional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class PAIR> struct select2nd; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:bsl/select2nd/argument_type.adoc[`argument_type`] | This `typedef` is an alias to the (template parameter) `PAIR`. | xref:bsl/select2nd/result_type.adoc[`result_type`] | This `typedef` is an alias to `PAIR::second_type`. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:bsl/select2nd/operator_call.adoc[`operator()`] | Return a reference to the `second` member of the specified `x`. | xref:bsl/select2nd/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<select2nd, is_trivially_copyable>`] | Declare that `select2nd` is trivially copyable. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#