BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlf::Bind_BoundTuple2< A1, A2 > Struct Template Reference

#include <bdlf_bind.h>

Inheritance diagram for bdlf::Bind_BoundTuple2< A1, A2 >:
bslmf::TypeList2< A1, A2 >

Public Member Functions

 BSLMF_NESTED_TRAIT_DECLARATION_IF (Bind_BoundTuple2, bslmf::IsBitwiseMoveable, bslmf::IsBitwiseMoveable< A1 >::value &&bslmf::IsBitwiseMoveable< A2 >::value)
 
 Bind_BoundTuple2 (const Bind_BoundTuple2< A1, A2 > &orig, bslma::Allocator *allocator=0)
 
 Bind_BoundTuple2 (bslmf::MovableRef< Bind_BoundTuple2< A1, A2 > > orig, bslma::Allocator *allocator=0)
 
 Bind_BoundTuple2 (A1 const &a1, A2 const &a2, bslma::Allocator *allocator=0)
 
 Bind_BoundTuple2 (bslmf::MovableRef< A1 > a1, bslmf::MovableRef< A2 > a2, bslma::Allocator *allocator=0)
 

Public Attributes

Bind_BoundTupleValue< A1 > d_a1
 
Bind_BoundTupleValue< A2 > d_a2
 

Additional Inherited Members

- Public Types inherited from bslmf::TypeList2< A1, A2 >
enum  
 
typedef TypeList2< A1, A2 > ListType
 
typedef A1 Type1
 
typedef A2 Type2
 
typedef ListType Type
 

Detailed Description

template<class A1, class A2>
struct bdlf::Bind_BoundTuple2< A1, A2 >

This struct stores a list of two arguments. It does not use the const-forwarding type of its argument, unlike Bind_ArgTuple2 which applies that optimization to avoid unnecessary copying.

Constructor & Destructor Documentation

◆ Bind_BoundTuple2() [1/4]

template<class A1 , class A2 >
bdlf::Bind_BoundTuple2< A1, A2 >::Bind_BoundTuple2 ( const Bind_BoundTuple2< A1, A2 > &  orig,
bslma::Allocator allocator = 0 
)
inline

◆ Bind_BoundTuple2() [2/4]

template<class A1 , class A2 >
bdlf::Bind_BoundTuple2< A1, A2 >::Bind_BoundTuple2 ( bslmf::MovableRef< Bind_BoundTuple2< A1, A2 > >  orig,
bslma::Allocator allocator = 0 
)
inline

◆ Bind_BoundTuple2() [3/4]

template<class A1 , class A2 >
bdlf::Bind_BoundTuple2< A1, A2 >::Bind_BoundTuple2 ( A1 const &  a1,
A2 const &  a2,
bslma::Allocator allocator = 0 
)
inline

◆ Bind_BoundTuple2() [4/4]

template<class A1 , class A2 >
bdlf::Bind_BoundTuple2< A1, A2 >::Bind_BoundTuple2 ( bslmf::MovableRef< A1 >  a1,
bslmf::MovableRef< A2 >  a2,
bslma::Allocator allocator = 0 
)
inline

Member Function Documentation

◆ BSLMF_NESTED_TRAIT_DECLARATION_IF()

template<class A1 , class A2 >
bdlf::Bind_BoundTuple2< A1, A2 >::BSLMF_NESTED_TRAIT_DECLARATION_IF ( Bind_BoundTuple2< A1, A2 >  ,
bslmf::IsBitwiseMoveable  ,
bslmf::IsBitwiseMoveable< A1 >::value &&bslmf::IsBitwiseMoveable< A2 >::value   
)

Member Data Documentation

◆ d_a1

template<class A1 , class A2 >
Bind_BoundTupleValue<A1> bdlf::Bind_BoundTuple2< A1, A2 >::d_a1

◆ d_a2

template<class A1 , class A2 >
Bind_BoundTupleValue<A2> bdlf::Bind_BoundTuple2< A1, A2 >::d_a2

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