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

Name

Description

BoundType

Forwarding type of the bound argument value.

Static Member Functions

Name

Description

eval

Return the specified bound value unchanged.

Specializations

Name

Description

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.

Created with MrDocs