bind_front overloads
Synopses
Declared in <llvm/ADT/STLForwardCompat.h>
C++26 bind_front with a compile‐time callable.
template<
auto ConstFn,
typename... BindArgsT>
constexpr
auto
bind_front(BindArgsT&&... BindArgs);
C++20 bind_front prepends bound arguments to the callable.
template<
typename FnT,
typename... BindArgsT>
constexpr
auto
bind_front(
FnT&& Fn,
BindArgsT&&... BindArgs);
Return Value
A function object that prepends BindArgs when called.
Parameters
Name |
Description |
BindArgs |
Arguments to prepend when the returned object is called. |
Fn |
The callable to bind arguments to. |
Created with MrDocs