Quick Links: |
#include <bslmf_forwardingreftype.h>
Public Types | |
typedef Imp::Type | Type |
typedef Imp::TargetType | TargetType |
This template metafunction has a member Type
computed such that, for a specified t_TYPE
parameter, a function with argument of t_TYPE
can be called efficiently from another function (e.g., a wrapper) by declaring the corresponding parameter of the other wrapper as 'typename ForwardingRefType<t_TYPE>Type'. The Type
member is computed to minimize the number of expensive copies while forwarding the arguments as faithfully as possible.
See Component bslmf_forwardingreftype
typedef Imp::Type bslmf::ForwardingRefType< t_TYPE >::Type |
typedef Imp::TargetType bslmf::ForwardingRefType< t_TYPE >::TargetType |