Quick Links:

bal | bbl | bdl | bsl

Public Types

bslmf::AddReference< t_TYPE > Struct Template Reference

#include <bslmf_addreference.h>

List of all members.

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.

See Component bslmf_addreference


Member Typedef Documentation

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: