Simple-Utility
v2.3.1
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
z
Functions
Variables
a
b
c
d
e
f
g
i
l
m
n
o
p
r
t
u
v
Typedefs
a
b
c
d
e
f
i
n
p
q
r
s
t
u
v
z
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
i
n
o
p
q
r
s
t
u
v
~
Functions
a
b
c
d
e
f
i
n
o
p
r
s
u
~
Variables
Typedefs
a
c
d
n
t
v
Related Functions
Files
File List
File Members
All
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
Overloaded.hpp
Go to the documentation of this file.
1
// Copyright Dominic Koepke 2019 - 2023.
2
// Distributed under the Boost Software License, Version 1.0.
3
// (See accompanying file LICENSE_1_0.txt or copy at
4
// https://www.boost.org/LICENSE_1_0.txt)
5
6
#ifndef SL_UTILITY_FUNCTIONAL_OVERLOADED_HPP
7
#define SL_UTILITY_FUNCTIONAL_OVERLOADED_HPP
8
9
namespace
sl::functional
10
{
23
template
<
class
... Fns>
24
struct
Overloaded
25
:
public
Fns...
26
{
27
using
Fns::operator()...;
28
};
29
34
template
<
class
... Fns>
35
Overloaded
(Fns...) ->
Overloaded
<Fns...>;
36
40
}
41
42
#endif
sl::functional
Definition:
Arithmetic.hpp:13
sl::functional::Overloaded
Helper invocable type which can hold an arbitrary amount of functions, from which the best match will...
Definition:
Overloaded.hpp:26
Simple-Utility
functional
Overloaded.hpp
Generated by
1.9.6