BloombergLP::bslmf::AddReference

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.

Synopsis

Declared in <bslmf_addreference.h>

template<class t_TYPE>
struct AddReference;

Type Aliases

NameDescription
Type Type is an alias for an lvalue reference to t_TYPE.