xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::overload< args_t > Struct Template Reference

Represents class that use to determine one of const and non const overloaded methods. More...

#include <overload.h>

Inheritance diagram for xtd::overload< args_t >:
xtd::const_overload< args_t... > xtd::non_const_overload< args_t... >

Public Member Functions

constexpr auto operator() (result_t(type_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 of the method. More...
 
constexpr auto operator() (result_t(type_t::*method)(args_t...) const) const noexcept -> decltype(method)
 Returns a pointer to an overloaded method. The template parameter is the list of the argument types of the method. More...
 
template<typename result_t >
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 of the method. More...
 

Static Public Member Functions

static constexpr auto of (result_t(type_t::*method)(args_t...)) noexcept -> decltype(method)
 Returns a pointer to an overloaded method. The template parameter is the list of the argument types of the method. More...
 
static constexpr auto of (result_t(type_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 of the method. More...
 
template<typename result_t >
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 of the method. More...
 

Detailed Description

template<typename... args_t>
struct xtd::overload< args_t >

Represents class that use to determine one of const and non const overloaded methods.


The documentation for this struct was generated from the following file: