mimic++
v10.0.1
Toggle main menu visibility
Loading...
Searching...
No Matches
Overloaded.hpp
Go to the documentation of this file.
1
// Copyright Dominic (DNKpp) Koepke 2026.
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 MIMICPP_UTILITIES_OVERLOADED_HPP
7
#define MIMICPP_UTILITIES_OVERLOADED_HPP
8
9
#pragma once
10
11
namespace
mimicpp::util
12
{
18
template
<
typename
... Ts>
19
struct
Overloaded
20
:
public
Ts...
21
{
22
using
Ts::operator()...;
23
};
24
25
template
<
typename
... Ts>
26
Overloaded
(Ts...) ->
Overloaded
<Ts...>;
27
}
28
29
#endif
mimicpp::util
Definition
Fwd.hpp:451
mimicpp::util::Overloaded
Famous overloaded helper type used for convenient variant visiting.
Definition
Overloaded.hpp:21
mimic++
utilities
Overloaded.hpp
Generated on
for mimic++ by
1.18.0