BloombergLP::bdlf::Bind_Evaluator

Component-private utility for evaluating a bound function call.

Synopsis

Declared in <bdlf_bind.h>

template<
    class BINDER,
    class t_ARG_TUPLE>
struct Bind_Evaluator;

Type Aliases

NameDescription
BoundType Forwarding reference type for the bound tuple element.

Static Member Functions

NameDescription
eval Return the specified value.

Specializations

NameDescription
Bind_Evaluator<PlaceHolder<t_INDEX>, t_ARG_TUPLE> This partial specialization of Bind_Evaluator provides an argument evaluator that substitutes the place-holder at position t_INDEX with the corresponding element in the specified t_ARG_TUPLE.
Bind_Evaluator<Bind<t_RET, t_FUNC, t_BOUND_TUPLE>, t_ARG_TUPLE> This utility provides an evaluator for nested Bind arguments. The Bind function object is invoked using the provided argument list and the result is returned.
Bind_Evaluator<BindWrapper<t_RET, t_FUNC, t_BOUND_TUPLE>, t_ARG_TUPLE> This utility provides an evaluator for nested BindWrapper arguments. It is a specialization of the Bind_Evaluator declared in the bdlf_bind component to enable nested BindWrapper objects in the same fashion as nested Bind objects. The underlying Bind function object is invoked using the provided argument list and the result is returned.