Quick Links:

bal | bbl | bdl | bsl

Public Types

bslmf::ForwardingType< t_TYPE > Class Template Reference

#include <bslmf_forwardingtype.h>

Inheritance diagram for bslmf::ForwardingType< t_TYPE >:
bslmf::ConstForwardingType< t_TYPE >

List of all members.

Public Types

typedef Imp::Type Type
typedef Imp::TargetType TargetType

Detailed Description

template<class t_TYPE>
class bslmf::ForwardingType< t_TYPE >

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 ForwardingType<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_forwardingtype


Member Typedef Documentation

template<class t_TYPE>
typedef Imp::Type bslmf::ForwardingType< t_TYPE >::Type
template<class t_TYPE>
typedef Imp::TargetType bslmf::ForwardingType< t_TYPE >::TargetType

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