BloombergLP::bdlf::Bind_BoundTuple2

This struct stores a list of two bound arguments.

Synopsis

Declared in <bdlf_bind.h>

template<
    class A1,
    class A2>
struct Bind_BoundTuple2
    : bslmf::TypeList2<A1, A2>

Description

It does not use the const-forwarding type of its arguments, unlike Bind_ArgTuple2 which applies that optimization to avoid unnecessary copying.

Base Classes

NameDescription
bslmf::TypeList2<A1, A2>Typelist of two type parameters.

Member Functions

NameDescription
Bind_BoundTuple2 [constructor]Move-construct a bound-tuple value from the specified original.
Bind_BoundTuple2 [constructor]Create a copy of the specified bound-tuple value.
Bind_BoundTuple2 [constructor]Create a bound-tuple value holding the specified arguments.
Bind_BoundTuple2 [constructor]Create a bound-tuple value holding the specified arguments.
operator BloombergLP::bslmf::NestedTraitDeclaration<Bind_BoundTuple2, IsBitwiseMoveable, bslmf::IsBitwiseMoveable<A1>::value && bslmf::IsBitwiseMoveable<A2>::value> Declare that this type is bitwise moveable if all arguments are.

Data Members

NameDescription
d_a1 First bound argument.
d_a2 Second bound argument.