BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bslstp::Identity< TYPE > Struct Template Reference

#include <bslstp_exfunctional.h>

Detailed Description

template<class TYPE>
struct bslstp::Identity< TYPE >

An identity function.

See bslstp_exfunctional

Public Types

typedef TYPE argument_type
 
typedef TYPE result_type
 

Public Member Functions

 BSLMF_NESTED_TRAIT_DECLARATION (Identity, bsl::is_trivially_copyable)
 
const TYPE & operator() (const TYPE &x) const
 

Member Typedef Documentation

◆ argument_type

template<class TYPE >
typedef TYPE bslstp::Identity< TYPE >::argument_type

◆ result_type

template<class TYPE >
typedef TYPE bslstp::Identity< TYPE >::result_type

Member Function Documentation

◆ BSLMF_NESTED_TRAIT_DECLARATION()

template<class TYPE >
bslstp::Identity< TYPE >::BSLMF_NESTED_TRAIT_DECLARATION ( Identity< TYPE >  ,
bsl::is_trivially_copyable   
)

◆ operator()()

template<class TYPE >
const TYPE & bslstp::Identity< TYPE >::operator() ( const TYPE &  x) const
inline

Return a const reference to the specified x.


The documentation for this struct was generated from the following file: