14 template<
typename ...args_t>
29 template<
typename result_t>
30 constexpr auto operator()(result_t (*method)(args_t...)) const noexcept -> decltype(method) {
return method;}
39 template<
typename result_t>
40 static constexpr auto of(result_t (*method)(args_t...)) noexcept -> decltype(method) {
return method;}
47 template<
typename ...args_t>
48 inline constexpr overload_type<args_t...> overload;
58#define overload_ xtd::overload
Contains xtd::const_overload.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::non_const_overload.
Represents class that use to determine one of const overloaded methods.
Definition const_overload.hpp:14
Represents class that use to determine one of non const overloaded methods.
Definition non_const_overload.hpp:16
Represents class that use to determine one of const and non const overloaded methods.
Definition overload.hpp:15
constexpr auto operator()(result_t(*method)(args_t...)) const noexcept -> decltype(method)
Returns a pointer to an overloaded method. The template parameter is the list of the argument types o...
Definition overload.hpp:30
static constexpr auto of(result_t(*method)(args_t...)) noexcept -> decltype(method)
Returns a pointer to an overloaded method. The template parameter is the list of the argument types o...
Definition overload.hpp:40