This struct is a functor that returns the first member of its PAIR argument.

Synopsis

Declared in <bslstp_exfunctional.h>

template<class PAIR>
struct select1st;

Type Aliases

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.

Member Functions

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.

Created with MrDocs