BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlf::Bind_BoundTupleValue< TYPE > Class Template Reference

#include <bdlf_bind.h>

Public Member Functions

 Bind_BoundTupleValue (const Bind_BoundTupleValue< TYPE > &original, bslma::Allocator *basicAllocator)
 
 Bind_BoundTupleValue (bslmf::MovableRef< Bind_BoundTupleValue< TYPE > > original, bslma::Allocator *basicAllocator)
 
 Bind_BoundTupleValue (const TYPE &value, bslma::Allocator *basicAllocator)
 
 Bind_BoundTupleValue (bslmf::MovableRef< TYPE > value, bslma::Allocator *basicAllocator)
 
TYPE & value ()
 Return a reference to the modifiable object held by this proxy.
 
const TYPE & value () const
 Return a reference to the non-modifiable object held by this proxy.
 

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_BoundTuple* 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 bdlf_bind

Constructor & Destructor Documentation

◆ Bind_BoundTupleValue() [1/4]

template<class TYPE >
bdlf::Bind_BoundTupleValue< TYPE >::Bind_BoundTupleValue ( const Bind_BoundTupleValue< TYPE > &  original,
bslma::Allocator basicAllocator 
)
inline

Create a Bind_BoundTupleValue object holding a copy of the specified original value, using basicAllocator to supply any memory.

◆ Bind_BoundTupleValue() [2/4]

template<class TYPE >
bdlf::Bind_BoundTupleValue< TYPE >::Bind_BoundTupleValue ( bslmf::MovableRef< Bind_BoundTupleValue< TYPE > >  original,
bslma::Allocator basicAllocator 
)
inline

Create a Bind_BoundTupleValue object holding the moved value of the specified original value, using basicAllocator to supply any memory.

◆ Bind_BoundTupleValue() [3/4]

template<class TYPE >
bdlf::Bind_BoundTupleValue< TYPE >::Bind_BoundTupleValue ( const TYPE &  value,
bslma::Allocator basicAllocator 
)
inline

Create a Bind_BoundTupleValue object holding a copy of the specified value, using basicAllocator to supply any memory.

◆ Bind_BoundTupleValue() [4/4]

template<class TYPE >
bdlf::Bind_BoundTupleValue< TYPE >::Bind_BoundTupleValue ( bslmf::MovableRef< TYPE >  value,
bslma::Allocator basicAllocator 
)
inline

Create a Bind_BoundTupleValue object holding a copy of the specified value, using basicAllocator to supply any memory.

Member Function Documentation

◆ value() [1/2]

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

◆ value() [2/2]

template<class TYPE >
const TYPE & bdlf::Bind_BoundTupleValue< TYPE >::value ( ) const
inline

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