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