BloombergLP::bslstp::Identity

An identity function.

Synopsis

Declared in <bslstp_exfunctional.h>

template<class TYPE>
struct Identity;

Type Aliases

NameDescription
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

NameDescription
operator() Return a const reference to the specified x.
operator BloombergLP::bslmf::NestedTraitDeclaration<Identity, is_trivially_copyable> Declare that Identity is trivially copyable.