bind_front overloads

Synopses

Declared in <llvm/ADT/STLForwardCompat.h>

C++26 bind_front with compile‐time callable. Prepends bound arguments. Bound arguments are forwarded and stored by value.

template<
    auto ConstFn,
    typename... BindArgsT>
constexpr
auto
bind_front(BindArgsT&&... BindArgs);

C++20 bind_front. Prepends bound arguments to the callable. All bind arguments and the callable are forwarded and stored by value. If you would like to pass by reference, use std::ref or std::cref.

template<
    typename FnT,
    typename... BindArgsT>
constexpr
auto
bind_front(
    FnT&& Fn,
    BindArgsT&&... BindArgs);

Created with MrDocs