This struct is a functor that returns the second member of its PAIR argument.
Declared in <bslstp_exfunctional.h>
template<class PAIR>
struct select2nd;
| Name | Description |
|---|---|
argument_type | This typedef is an alias to the (template parameter) PAIR. |
result_type | This typedef is an alias to PAIR::second_type. |
| Name | Description |
|---|---|
operator() | Return a reference to the second member of the specified x. |
operator BloombergLP::bslmf::NestedTraitDeclaration<select2nd, is_trivially_copyable> | Declare that select2nd is trivially copyable. |