BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bsl::remove_reference< t_TYPE > Struct Template Reference

#include <bslmf_removereference.h>

Detailed Description

template<class t_TYPE>
struct bsl::remove_reference< t_TYPE >

This struct template implements the remove_reference meta-function defined in the C++11 standard [meta.trans.ref], providing an alias, type, that returns the result. type has the same type as the (template parameter) t_TYPE except with reference-ness removed.

Note
Note that this generic default template provides a type that is an alias to t_TYPE for when t_TYPE is not a reference. A template specialization is provided (below) that removes reference-ness for when t_TYPE is a reference.

See bslmf_removereference

Public Types

typedef t_TYPE type
 

Member Typedef Documentation

◆ type

template<class t_TYPE >
typedef t_TYPE bsl::remove_reference< t_TYPE >::type

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


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