26 #if ! defined (octave_octave_qtutils_h)
27 #define octave_octave_qtutils_h 1
32 #if ! defined (HAVE_QOVERLOAD_TEMPLATE)
39 template <
typename... Args>
42 template <
typename R,
typename T>
43 constexpr
auto operator()(R (T::*ptr)(Args...)) const noexcept -> decltype(ptr)
46 template <
typename R,
typename T>
47 static constexpr
auto of(R (T::*ptr)(Args...)) noexcept -> decltype(ptr)
51 template <
typename... Args>
54 template <
typename R,
typename T>
55 constexpr
auto operator()(R (T::*ptr)(Args...)
const) const noexcept -> decltype(ptr)
58 template <
typename R,
typename T>
59 static constexpr
auto of(R (T::*ptr)(Args...)
const) noexcept -> decltype(ptr)
63 template <
typename... Args>
72 constexpr
auto operator()(R (*ptr)(Args...)) const noexcept -> decltype(ptr)
76 static constexpr
auto of(R (*ptr)(Args...)) noexcept -> decltype(ptr)
constexpr auto operator()(R(T::*ptr)(Args...) const) const noexcept -> decltype(ptr)
static constexpr auto of(R(T::*ptr)(Args...) const) noexcept -> decltype(ptr)
constexpr auto operator()(R(T::*ptr)(Args...)) const noexcept -> decltype(ptr)
static constexpr auto of(R(T::*ptr)(Args...)) noexcept -> decltype(ptr)
static constexpr auto of(R(*ptr)(Args...)) noexcept -> decltype(ptr)
constexpr auto operator()(R(*ptr)(Args...)) const noexcept -> decltype(ptr)