Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Public Attributes

bdlf::Bind_BoundTuple2< A1, A2 > Struct Template Reference

#include <bdlf_bind.h>

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

List of all members.

Public Types

enum  
typedef TypeList2< A1, A2 > ListType
typedef A1 Type1
typedef A2 Type2
typedef ListType Type

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 (A1 const &a1, A2 const &a2, bslma::Allocator *allocator=0)

Public Attributes

Bind_BoundTupleValue< A1 > d_a1
Bind_BoundTupleValue< A2 > d_a2

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_Tuple2 which applies that optimization to avoid unnecessary copying.

See Component bdlf_bind


Member Typedef Documentation

typedef TypeList2<A1 , A2 > bslmf::TypeList2< A1 , A2 >::ListType [inherited]
typedef A1 bslmf::TypeList2< A1 , A2 >::Type1 [inherited]
typedef A2 bslmf::TypeList2< A1 , A2 >::Type2 [inherited]
typedef ListType bslmf::TypeList2< A1 , A2 >::Type [inherited]

Member Enumeration Documentation

anonymous enum [inherited]

Constructor & Destructor Documentation

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

Member Function Documentation

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

template<class A1, class A2>
Bind_BoundTupleValue<A1> bdlf::Bind_BoundTuple2< A1, A2 >::d_a1
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: