[func.bind.partial] (original) (raw)

22 General utilities library [utilities]

22.10 Function objects [function.objects]

22.10.14 Function templates bind_front and bind_back [func.bind.partial]

template<class F, class... Args> constexpr _unspecified_ bind_front(F&& f, Args&&... args);template<class F, class... Args> constexpr _unspecified_ bind_back(F&& f, Args&&... args);

Within this subclause:

Mandates: is_constructible_v<FD, F> &&is_move_constructible_v<FD> && (is_constructible_v<BoundArgs, Args> && ...) && (is_move_constructible_v<BoundArgs> && ...) is true.

Returns: A perfect forwarding call wrapper ([func.require]) gwith call pattern:

Throws: Any exception thrown by the initialization of the state entities of g ([func.def]).

template<auto f, class... Args> constexpr _unspecified_ bind_front(Args&&... args);template<auto f, class... Args> constexpr _unspecified_ bind_back(Args&&... args);

Within this subclause:

Mandates:

Returns: A perfect forwarding call wrapper ([func.require]) g that does not have a target object, and has the call pattern:

Throws: Any exception thrown by the initialization of bound_args.