UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
gui
QT
util
overload.hpp
Go to the documentation of this file.
1
#ifndef OVERLOAD_HPP
2
#define OVERLOAD_HPP
3
4
#include <QtGlobal>
5
6
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
7
8
template
<
typename
... Args>
9
using
Overload
= QOverload<Args...>;
10
11
#else
12
13
template
<
typename
... Args>
14
struct
Overload
{
15
template
<
typename
R,
typename
C>
16
static
constexpr
auto
of(
R
(C::*ptr)(Args...))
noexcept
->
decltype
(ptr) {
17
return
ptr;
18
}
19
};
20
21
#endif
//QT_VERSION
22
23
#endif
R
#define R
Definition
from_lavc_vid_conv.c:81
Overload
QOverload< Args... > Overload
Definition
overload.hpp:9
Generated on Wed Sep 25 2024 14:27:13 for UltraGrid by
1.12.0