BloombergLP::bdlf::Bind_Evaluator

This utility provides a default argument evaluator that simply returns whatever value is passed.

Synopsis

Declared in <bdlf_bind.h>

template<
    class BINDER,
    class t_ARG_TUPLE>
struct Bind_Evaluator;

Type Aliases

NameDescription
BoundType Forwarding type of the bound argument value.

Static Member Functions

NameDescription
eval Return the specified bound value unchanged.

Specializations

NameDescription
Bind_Evaluator<PlaceHolder<t_INDEX>, t_ARG_TUPLE> Argument evaluator that substitutes a place-holder with a call argument.
Bind_Evaluator<Bind<t_RET, t_FUNC, t_BOUND_TUPLE>, t_ARG_TUPLE> Evaluator specialization for nested Bind arguments.
Bind_Evaluator<BindWrapper<t_RET, t_FUNC, t_BOUND_TUPLE>, t_ARG_TUPLE> Evaluator specialization for nested BindWrapper arguments.