Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QNonConstOverload< Args > Struct Template Reference

#include <qoverload.h>

+ Collaboration diagram for QNonConstOverload< Args >:

Public Member Functions

template<typename R , typename T >
constexpr auto operator() (R(T::*ptr)(Args...)) const noexcept -> decltype(ptr)
 

Static Public Member Functions

template<typename R , typename T >
static constexpr auto of (R(T::*ptr)(Args...)) noexcept -> decltype(ptr)
 

Detailed Description

template<typename... Args>
struct QNonConstOverload< Args >

Definition at line 25 of file qoverload.h.

Member Function Documentation

◆ of()

template<typename... Args>
template<typename R , typename T >
static constexpr auto QNonConstOverload< Args >::of ( R(T::*)(Args...) ptr) -> decltype(ptr)
inlinestaticconstexprnoexcept

Definition at line 32 of file qoverload.h.

References ptr().

+ Here is the call graph for this function:

◆ operator()()

template<typename... Args>
template<typename R , typename T >
constexpr auto QNonConstOverload< Args >::operator() ( R(T::*)(Args...) ptr) const -> decltype(ptr)
inlineconstexprnoexcept

Definition at line 28 of file qoverload.h.

References ptr().

+ Here is the call graph for this function:

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