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

Synopsis

Declared in <bslstp_exfunctional.h>

template<class PAIR>
struct select2nd;

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::second_type.

Member Functions

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.

Created with MrDocs