mimic++ v10.0.1
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
11namespace mimicpp::util
12{
18 template <typename... Ts>
20 : public Ts...
21 {
22 using Ts::operator()...;
23 };
24
25 template <typename... Ts>
26 Overloaded(Ts...) -> Overloaded<Ts...>;
27}
28
29#endif
Definition Fwd.hpp:451
Famous overloaded helper type used for convenient variant visiting.
Definition Overloaded.hpp:21