TermOx
include
termox
common
overload.hpp
1
#ifndef TERMOX_COMMON_OVERLOAD_HPP
2
#define TERMOX_COMMON_OVERLOAD_HPP
3
namespace
ox {
4
6
8
template
<
typename
... Ts>
9
struct
Overload
: Ts... {
10
using
Ts::operator()...;
11
};
12
13
template
<
typename
... Ts>
14
Overload
(Ts...) ->
Overload
<Ts...>;
15
16
}
// namespace ox
17
#endif
// TERMOX_COMMON_OVERLOAD_HPP
ox::Overload
Overload pattern for function objects.
Definition:
overload.hpp:9
Generated by
1.9.1