An identity function.

Synopsis

Declared in <bslstp_exfunctional.h>

template<class TYPE>
struct Identity;

Type Aliases

Name

Description

argument_type

This typedef is an alias to the (template parameter) TYPE.

result_type

This typedef is an alias to the (template parameter) TYPE.

Member Functions

Name

Description

operator()

Return a const reference to the specified x.

operator BloombergLP::bslmf::NestedTraitDeclaration<Identity, is_trivially_copyable>

Declare that Identity is trivially copyable.

Created with MrDocs