Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QOverload< Args > Struct Template Reference

#include <qoverload.h>

Inheritance diagram for QOverload< Args >:
Collaboration diagram for QOverload< Args >:

Public Member Functions

template<typename R>
constexpr auto operator() (R(*ptr)(Args...)) const noexcept -> decltype(ptr)
Public Member Functions inherited from QConstOverload< Args... >
constexpr auto operator() (R(T::*ptr)(Args...) const) const noexcept -> decltype(ptr)
Public Member Functions inherited from QNonConstOverload< Args... >
constexpr auto operator() (R(T::*ptr)(Args...)) const noexcept -> decltype(ptr)

Static Public Member Functions

template<typename R>
static constexpr auto of (R(*ptr)(Args...)) noexcept -> decltype(ptr)
Static Public Member Functions inherited from QConstOverload< Args... >
static constexpr auto of (R(T::*ptr)(Args...) const) noexcept -> decltype(ptr)
Static Public Member Functions inherited from QNonConstOverload< Args... >
static constexpr auto of (R(T::*ptr)(Args...)) noexcept -> decltype(ptr)

Detailed Description

template<typename... Args>
struct QOverload< Args >

Definition at line 49 of file qoverload.h.

Member Function Documentation

◆ of()

template<typename... Args>
template<typename R>
constexpr auto QOverload< Args >::of ( R(* ptr )(Args...)) -> decltype(ptr)
inlinestaticconstexprnoexcept

Definition at line 61 of file qoverload.h.

◆ operator()()

template<typename... Args>
template<typename R>
auto QOverload< Args >::operator() ( R(* ptr )(Args...)) const -> decltype(ptr)
inlineconstexprnoexcept

Definition at line 57 of file qoverload.h.


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