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
QConstOverload< Args > Struct Template Reference

#include <qoverload.h>

+ Collaboration diagram for QConstOverload< Args >:

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

template<typename... Args>
struct QConstOverload< Args >

Definition at line 37 of file qoverload.h.

Member Function Documentation

◆ of()

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

Definition at line 44 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 QConstOverload< Args >::operator() ( R(T::*)(Args...) const ptr) const -> decltype(ptr)
inlineconstexprnoexcept

Definition at line 40 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: