|
Backport
|
This header provides definitions from the C++ header <functional> More...
#include "detail/config.hpp"#include "type_traits.hpp"#include "utility.hpp"#include "detail/invoke.hpp"#include <functional>
Include dependency graph for functional.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| template<typename Func , typename... Args> | |
| constexpr invoke_result_t< Func, Args... > | bpstd::invoke (Func &&function, Args &&... args) noexcept(is_nothrow_invocable< Func, Args... >::value) |
Invoke the Callable object function with the parameters args. More... | |
| template<typename Fn > | |
| constexpr detail::not_fn_t< decay_t< Fn > > | bpstd::not_fn (Fn &&fn) |
| Creates a forwarding call wrapper that returns the negation of the callable object it holds. More... | |
This header provides definitions from the C++ header <functional>
Definition in file functional.hpp.
|
constexprnoexcept |
Invoke the Callable object function with the parameters args.
As by INVOKE(std::forward<F>(f), std::forward<Args>(args)...)
| function | Callable object to be invoked |
| args | arguments to pass to function |
|
constexpr |
Creates a forwarding call wrapper that returns the negation of the callable object it holds.
| fn | the object from which the Callable object held by the wrapper is constructed |