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