Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Static Public Attributes

bdlf::Bind< RET, FUNC, LIST > Class Template Reference

#include <bdlf_bind.h>

Inheritance diagram for bdlf::Bind< RET, FUNC, LIST >:
bsl::integral_constant< t_TYPE, t_VAL >

List of all members.

Public Types

typedef t_TYPE value_type
typedef integral_constant type

Public Member Functions

 BSLMF_NESTED_TRAIT_DECLARATION (Bind, bslma::UsesBslmaAllocator)
 BSLMF_NESTED_TRAIT_DECLARATION_IF (Bind, bslmf::IsBitwiseMoveable, bslmf::IsBitwiseMoveable< FUNC >::value &&bslmf::IsBitwiseMoveable< LIST >::value) Bind(typename bslmf
 Bind (const Bind &other, bslma::Allocator *allocator=0)
BSLS_KEYWORD_CONSTEXPR operator value_type () const BSLS_KEYWORD_NOEXCEPT

Static Public Attributes

static
BSLS_KEYWORD_CONSTEXPR_MEMBER
t_TYPE 
value = t_VAL

Detailed Description

template<class RET, class FUNC, class LIST>
class bdlf::Bind< RET, FUNC, LIST >

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 Component bdlf_bind


Member Typedef Documentation

template<class t_TYPE, t_TYPE t_VAL>
typedef t_TYPE bsl::integral_constant< t_TYPE, t_VAL >::value_type [inherited]
template<class t_TYPE, t_TYPE t_VAL>
typedef integral_constant bsl::integral_constant< t_TYPE, t_VAL >::type [inherited]

Constructor & Destructor Documentation

template<class RET, class FUNC, class LIST>
bdlf::Bind< RET, FUNC, LIST >::Bind ( const Bind< RET, FUNC, LIST > &  other,
bslma::Allocator allocator = 0 
) [inline]
Parameters:
allocator 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

template<class RET, class FUNC, class LIST>
bdlf::Bind< RET, FUNC, LIST >::BSLMF_NESTED_TRAIT_DECLARATION ( Bind< RET, FUNC, LIST >  ,
bslma::UsesBslmaAllocator   
)
template<class RET, class FUNC, class LIST>
bdlf::Bind< RET, FUNC, LIST >::BSLMF_NESTED_TRAIT_DECLARATION_IF ( Bind< RET, FUNC, LIST >  ,
bslmf::IsBitwiseMoveable  ,
bslmf::IsBitwiseMoveable< FUNC >::value &&bslmf::IsBitwiseMoveable< LIST >::value   
) [inline]

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

template<class t_TYPE, t_TYPE t_VAL>
BSLS_KEYWORD_CONSTEXPR bsl::integral_constant< t_TYPE, t_VAL >::operator value_type (  )  const [inherited]

Return t_VAL.


Member Data Documentation

template<class t_TYPE, t_TYPE t_VAL>
BSLS_KEYWORD_CONSTEXPR_MEMBER t_TYPE bsl::integral_constant< t_TYPE, t_VAL >::value = t_VAL [static, inherited]

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