BloombergLP::bdlf::Bind_MapParameter

This meta-function is used to select the type at t_OFFSET positions of the t_INDEX position in an argument list type t_FUNC_ARGS, which is of type bslmf::TypeList denoting the arguments of t_FUNC. Note that this class is used by Bind_ImplExplicit.

Synopsis

Declared in <bdlf_bind.h>

template<
    class t_FUNC,
    class t_ARG_TUPLE,
    int INDEX,
    int OFFSET>
struct Bind_MapParameter;

Type Aliases

NameDescription
Type Forwarding type for the bound argument at position t_INDEX.

Specializations

NameDescription
Bind_MapParameter<t_FUNC, t_FUNC_ARGS, 1, 1> This partial specialization of Bind_MapParameter is intended for use with member functions. The Bind_MemFnObjectWrapper will properly wrap around the class object reference or pointer, such that either can be used to invoke the member function.
Bind_MapParameter<t_FUNC, t_FUNC_ARGS, 0, t_IS_MEMBER_OFFSET> This partial specialization of Bind_MapParameter does not specify any type in the t_FUNC_ARGS list. It is used for parameters that should be ignored.