An identity function.
Declared in <bslstp_exfunctional.h>
template<class TYPE>
struct Identity;
| 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. |
| 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. |