tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
bind_front.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename Func, typename... BoundArgs>
constexpr auto bind_front (Func &&func, BoundArgs &&... boundArgs)
 The function template bind_front generates a forwarding call wrapper for f. Calling this wrapper is equivalent to invoking f with its first sizeof...(Args) parameters bound to args. In other words, bind_front(f, bound_args...)(call_args...) is equivalent to invoke(f, bound_args..., call_args....).