BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlf::Bind< t_RET, t_FUNC, t_BOUND_TUPLE > Class Template Reference

#include <bdlf_bind.h>

Inheritance diagram for bdlf::Bind< t_RET, t_FUNC, t_BOUND_TUPLE >:

Public Member Functions

 BSLMF_NESTED_TRAIT_DECLARATION (Bind, bslma::UsesBslmaAllocator)
 
 BSLMF_NESTED_TRAIT_DECLARATION_IF (Bind, bslmf::IsBitwiseMoveable, bslmf::IsBitwiseMoveable< t_FUNC >::value &&bslmf::IsBitwiseMoveable< t_BOUND_TUPLE >::value) Bind(typename bslmf
 
 Bind (typename bslmf::ForwardingType< t_FUNC >::Type func, bslmf::MovableRef< t_BOUND_TUPLE > list, bslma::Allocator *allocator=0)
 
 Bind (const Bind &other, bslma::Allocator *allocator=0)
 
 Bind (bslmf::MovableRef< Bind > other, bslma::Allocator *allocator=0)
 

Detailed Description

template<class t_RET, class t_FUNC, class t_BOUND_TUPLE>
class bdlf::Bind< t_RET, t_FUNC, t_BOUND_TUPLE >

This bind class select the implementation for the given template arguments. Note that instances of this class should not be created explicitly, instead use the BindUtil factory methods.

See bdlf_bind

Constructor & Destructor Documentation

◆ Bind() [1/3]

template<class t_RET , class t_FUNC , class t_BOUND_TUPLE >
bdlf::Bind< t_RET, t_FUNC, t_BOUND_TUPLE >::Bind ( typename bslmf::ForwardingType< t_FUNC >::Type  func,
bslmf::MovableRef< t_BOUND_TUPLE >  list,
bslma::Allocator allocator = 0 
)
inline

Create a Bind object that is bound to the specified func invocable object with the specified argument list list moved into the object. Optionally specify an allocator used to supply memory. If allocator is 0, the currently installed default allocator is used.

◆ Bind() [2/3]

template<class t_RET , class t_FUNC , class t_BOUND_TUPLE >
bdlf::Bind< t_RET, t_FUNC, t_BOUND_TUPLE >::Bind ( const Bind< t_RET, t_FUNC, t_BOUND_TUPLE > &  other,
bslma::Allocator allocator = 0 
)
inline

Create a Bind object that is bound to the same invocable object with the same bound parameters as the specified other. Optionally specify an allocator used to supply memory. If allocator is 0, the currently installed default allocator is used.

◆ Bind() [3/3]

template<class t_RET , class t_FUNC , class t_BOUND_TUPLE >
bdlf::Bind< t_RET, t_FUNC, t_BOUND_TUPLE >::Bind ( bslmf::MovableRef< Bind< t_RET, t_FUNC, t_BOUND_TUPLE > >  other,
bslma::Allocator allocator = 0 
)
inline

Create a Bind object that is bound to the same invocable object with the same bound parameters as the specified other. Optionally specify an allocator used to supply memory. If allocator is 0, the currently installed default allocator is used.

Member Function Documentation

◆ BSLMF_NESTED_TRAIT_DECLARATION()

template<class t_RET , class t_FUNC , class t_BOUND_TUPLE >
bdlf::Bind< t_RET, t_FUNC, t_BOUND_TUPLE >::BSLMF_NESTED_TRAIT_DECLARATION ( Bind< t_RET, t_FUNC, t_BOUND_TUPLE >  ,
bslma::UsesBslmaAllocator   
)

◆ BSLMF_NESTED_TRAIT_DECLARATION_IF()

template<class t_RET , class t_FUNC , class t_BOUND_TUPLE >
bdlf::Bind< t_RET, t_FUNC, t_BOUND_TUPLE >::BSLMF_NESTED_TRAIT_DECLARATION_IF ( Bind< t_RET, t_FUNC, t_BOUND_TUPLE >  ,
bslmf::IsBitwiseMoveable  ,
bslmf::IsBitwiseMoveable< t_FUNC >::value &&bslmf::IsBitwiseMoveable< t_BOUND_TUPLE >::value   
)
inline

Create a Bind object that is bound to the specified func invocable object with the specified argument list list. Optionally specify an allocator used to supply memory. If allocator is 0, the currently installed default allocator is used.


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