libdonut
2.3.6
Application framework for cross-platform game development in C++20
Loading...
Searching...
No Matches
include
donut
Overloaded.hpp
Go to the documentation of this file.
1
#ifndef DONUT_OVERLOADED_HPP
2
#define DONUT_OVERLOADED_HPP
3
4
namespace
donut
{
5
12
template
<
typename
... Functors>
13
struct
Overloaded
: Functors... {
14
using
Functors::operator()...;
15
};
16
17
template
<
typename
... Functors>
18
Overloaded
(Functors...) ->
Overloaded
<Functors...>;
19
20
}
// namespace donut
21
22
#endif
donut
Definition
Application.hpp:9
donut::Overloaded
Visitor type for combining callable objects, such as lambdas, into an overload set.
Definition
Overloaded.hpp:13
Generated by
1.9.8