Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bdlf::Bind_BoundTupleValue< TYPE > Class Template Reference

#include <bdlf_bind.h>

List of all members.

Public Member Functions

 Bind_BoundTupleValue (const Bind_BoundTupleValue< TYPE > &original, bslma::Allocator *basicAllocator)
 Bind_BoundTupleValue (const TYPE &value, bslma::Allocator *basicAllocator)
template<class BDE_OTHER_TYPE >
 Bind_BoundTupleValue (const BDE_OTHER_TYPE &value, bslma::Allocator *basicAllocator)
STORAGE_TYPE & value ()
const STORAGE_TYPE & value () const

Detailed Description

template<class TYPE>
class bdlf::Bind_BoundTupleValue< 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* local classes. This general template definition ensures that the allocator passed to the creators is passed through to the value if it uses an allocator, using the bslalg::ConstructorProxy mechanism.

See Component bdlf_bind


Constructor & Destructor Documentation

template<class TYPE>
bdlf::Bind_BoundTupleValue< TYPE >::Bind_BoundTupleValue ( const Bind_BoundTupleValue< TYPE > &  original,
bslma::Allocator basicAllocator 
) [inline]
Parameters:
basicAllocator Create a Bind_BoundTupleValue object holding a copy of the specified original value, using basicAllocator to supply any memory.
template<class TYPE>
bdlf::Bind_BoundTupleValue< TYPE >::Bind_BoundTupleValue ( const TYPE &  value,
bslma::Allocator basicAllocator 
) [inline]
Parameters:
basicAllocator Create a Bind_BoundTupleValue object holding a copy of the specified value, using basicAllocator to supply any memory.
template<class TYPE>
template<class BDE_OTHER_TYPE >
bdlf::Bind_BoundTupleValue< TYPE >::Bind_BoundTupleValue ( const BDE_OTHER_TYPE &  value,
bslma::Allocator basicAllocator 
) [inline]
Parameters:
basicAllocator Create a Bind_BoundTupleValue object holding a copy of the specified value, using basicAllocator to supply any memory.

Member Function Documentation

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

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

template<class TYPE>
const STORAGE_TYPE& bdlf::Bind_BoundTupleValue< 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: