General Utility Library for C++17
26.5.0
include
gul17
OverloadSet.h
Go to the documentation of this file.
1
26
#ifndef GUL17_OVERLOADSET_H_
27
#define GUL17_OVERLOADSET_H_
28
29
namespace
gul17
{
30
59
template
<
typename
... Fcts>
60
struct
OverloadSet
: Fcts ...
61
{
62
using
Fcts::operator()...;
63
};
64
65
template
<
typename
... Fcts>
66
OverloadSet
(Fcts...) ->
OverloadSet
<Fcts...>;
67
68
}
// namespace gul17
69
70
#endif
gul17
Namespace gul17 contains all functions and classes of the General Utility Library.
Definition
doxygen.h:29
gul17::OverloadSet
A function object that works like an overload set of functions.
Definition
OverloadSet.h:61
General Utility Library for C++17 ·
Legal Disclosure
·
Privacy Policy