SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
multi_invocable.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
2// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
3// SPDX-License-Identifier: BSD-3-Clause
4
10#pragma once
11
12#include <functional>
13
15
16namespace seqan3::detail
17{
18
23template <typename... invocable_ts>
24struct multi_invocable : invocable_ts...
25{
27 using invocable_ts::operator()...;
28};
29
31template <typename... invocable_ts>
32multi_invocable(invocable_ts...) -> multi_invocable<invocable_ts...>;
33
34} // namespace seqan3::detail
The internal SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
Provides platform and dependency checks.
A type that can conveniently inherit multiple invocables and acts as a union over them.
Definition multi_invocable.hpp:25
Hide me