xtd 1.0.0
Loading...
Searching...
No Matches
invocable.hpp
Go to the documentation of this file.
1
4#pragma once
5#pragma once
6#include <utility>
7
9namespace xtd {
10 // Since Doxygen does not work properly with the C++ concept, the documentation for this concept is declared in xtd/invocable_.hpp
11 template<typename function_t, typename result_t = void, typename... args_t>
12 concept invocable = std::invocable<function_t, args_t...> && std::same_as<std::invoke_result_t<function_t, args_t...>, result_t>;
13}
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Represents the invocable (function, method, xtd::delegate, xtd::event, std::functional) concept.
Definition invocable_.hpp:47