GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
QOverload< Args > Struct Template Reference

#include "octave-qtutils.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)
 
constexpr auto operator() (R(T::*ptr)(Args...) const) const noexcept -> decltype(ptr)
 
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 constexpr auto of (R(T::*ptr)(Args...) const) noexcept -> decltype(ptr)
 
static constexpr auto of (R(T::*ptr)(Args...)) noexcept -> decltype(ptr)
 

Detailed Description

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

Definition at line 64 of file octave-qtutils.h.

Member Function Documentation

◆ of() [1/3]

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

Definition at line 76 of file octave-qtutils.h.

◆ of() [2/3]

static constexpr auto QConstOverload< Args >::of ( R(T::*)(Args...) const  ptr) -> decltype(ptr)
inlinestaticconstexprnoexceptinherited

Definition at line 59 of file octave-qtutils.h.

◆ of() [3/3]

static constexpr auto QNonConstOverload< Args >::of ( R(T::*)(Args...)  ptr) -> decltype(ptr)
inlinestaticconstexprnoexceptinherited

Definition at line 47 of file octave-qtutils.h.

◆ operator()() [1/3]

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

Definition at line 72 of file octave-qtutils.h.

◆ operator()() [2/3]

constexpr auto QConstOverload< Args >::operator() ( R(T::*)(Args...) const  ptr) const-> decltype(ptr)
inlineconstexprnoexceptinherited

Definition at line 55 of file octave-qtutils.h.

◆ operator()() [3/3]

constexpr auto QNonConstOverload< Args >::operator() ( R(T::*)(Args...)  ptr) const-> decltype(ptr)
inlineconstexprnoexceptinherited

Definition at line 43 of file octave-qtutils.h.


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