BioC++ core-0.7.0
The Modern C++ libraries for Bioinformatics.
 
Loading...
Searching...
No Matches
gapped.hpp
Go to the documentation of this file.
1// -----------------------------------------------------------------------------------------------------
2// Copyright (c) 2022 deCODE Genetics
3// Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
4// Copyright (c) 2016-2020, 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
15#pragma once
16
19
20namespace bio::alphabet
21{
22
38template <typename alphabet_t>
39 requires writable_alphabet<alphabet_t>
41
42} // namespace bio::alphabet
43
44namespace bio::alphabet::detail
45{
46// ---------------------------------------------------------------------------------------------------------------------
47// is_gapped_alphabet constexpr variable
48// ---------------------------------------------------------------------------------------------------------------------
49
52template <typename t>
53constexpr bool is_gapped_alphabet = false;
54
57template <typename t>
58constexpr bool is_gapped_alphabet<gapped<t>> = true;
59
60} // namespace bio::alphabet::detail
A combined alphabet that can hold values of either of its alternatives..
Definition: variant.hpp:104
Provides bio::alphabet::gap.
The alphabet module's namespace.
Definition: aa10li.hpp:23
Provides bio::alphabet::variant.