BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmf::AddReference< t_TYPE > Struct Template Reference

#include <bslmf_addreference.h>

Public Types

typedef bsl::add_lvalue_reference< t_TYPE >::type Type
 

Detailed Description

template<class t_TYPE>
struct bslmf::AddReference< t_TYPE >

This meta-function class defines a typedef, Type, that is an alias for a reference to the parameterized t_TYPE. References to cv-qualified void will produce the original void type and not a reference (see specializations below). References-to-references "collapse" to produce an alias to the original reference type, which is the revised rule according to the C++11 standard. Note that there is no requirement that the parameterized t_TYPE be a complete type.

Member Typedef Documentation

◆ Type

template<class t_TYPE >
typedef bsl::add_lvalue_reference<t_TYPE>::type bslmf::AddReference< t_TYPE >::Type

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