[#llvm-bind_front-08] = xref:llvm.adoc[llvm]::bind_front :relfileprefix: ../ :mrdocs: C++20 `bind_front` prepends bound arguments to the callable. == Synopsis Declared in `<llvm/ADT/STLForwardCompat.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename FnT, typename... BindArgsT> constexpr auto bind_front( FnT&& Fn, BindArgsT&&... BindArgs); ---- == Description 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.` == Return Value A function object that prepends `BindArgs` when called. == Parameters [cols="1,4"] |=== | Name| Description | *Fn* | The callable to bind arguments to. | *BindArgs* | Arguments to prepend when the returned object is called. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#