Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bdlf::Bind_TupleValue< TYPE > Class Template Reference

#include <bdlf_bind.h>

List of all members.

Public Member Functions

 Bind_TupleValue (const Bind_TupleValue< TYPE > &original)
 Bind_TupleValue (TYPE value)
STORAGE_TYPE & value ()
const STORAGE_TYPE & value () const

Detailed Description

template<class TYPE>
class bdlf::Bind_TupleValue< TYPE >

This local class provides storage for a value of the specified TYPE suitable for storing an argument value in one of the Bind_Tuple[0-14] local classes. TYPE must already be a bslmf::ForwardingType, meaning no extra copies will be made (unless the type is a fundamental type, which is meant to be copied for efficiency).

See Component bdlf_bind


Constructor & Destructor Documentation

template<class TYPE>
bdlf::Bind_TupleValue< TYPE >::Bind_TupleValue ( const Bind_TupleValue< TYPE > &  original  )  [inline]
Parameters:
original Create a Bind_TupleValue object holding a copy of the specified original value.
template<class TYPE>
bdlf::Bind_TupleValue< TYPE >::Bind_TupleValue ( TYPE  value  )  [inline]
Parameters:
value IMPLICIT: Create a Bind_TupleValue object holding a copy of the specified value.

Member Function Documentation

template<class TYPE>
STORAGE_TYPE& bdlf::Bind_TupleValue< TYPE >::value (  )  [inline]

Return a reference to the modifiable object held by this proxy.

template<class TYPE>
const STORAGE_TYPE& bdlf::Bind_TupleValue< TYPE >::value (  )  const [inline]

Return a reference to the non-modifiable object held by this proxy.


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