BioC++
core-0.7.0
The Modern C++ libraries for Bioinformatics.
Loading...
Searching...
No Matches
overloaded.hpp
Go to the documentation of this file.
1
// -----------------------------------------------------------------------------------------------------
2
// Copyright (c) 2022 deCODE Genetics
3
// Copyright (c) 2006-2022, Knut Reinert & Freie Universität Berlin
4
// Copyright (c) 2016-2022, Knut Reinert & MPI für molekulare Genetik
5
// This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
6
// shipped with this file and also available at: https://github.com/biocpp/biocpp-core/blob/main/LICENSE.md
7
// -----------------------------------------------------------------------------------------------------
8
14
#pragma once
15
16
#include <
bio/core.hpp
>
17
18
namespace
bio::meta
19
{
20
35
template
<
typename
... functors>
36
struct
overloaded
: functors...
37
{
38
using
functors::operator()...;
39
};
40
43
template
<
typename
... functors>
44
overloaded
(functors...) ->
overloaded
<functors...>;
46
47
}
// namespace bio::meta
core.hpp
Provides platform and dependency checks.
bio::meta::overloaded::overloaded
overloaded(functors...) -> overloaded< functors... >
Deduction guide for bio::meta::overloaded.
bio::meta
The Meta module's namespace.
bio::meta::overloaded
Wrapper to create an overload set of multiple functors.
Definition:
overloaded.hpp:37
bio
meta
overloaded.hpp
Generated on Thu Mar 30 2023 15:25:52 for BioC++ by
1.9.6