SeqAn3  3.0.0
The Modern C++ library for sequence analysis.
concept.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik
4 // This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5 // shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6 // -----------------------------------------------------------------------------------------------------
7 
13 #pragma once
14 
16 
17 // ============================================================================
18 // concept
19 // ============================================================================
20 
21 namespace seqan3
22 {
23 
42 template <typename type>
44 
48 template <typename type>
49 constexpr bool is_aminoacid_v = is_aminoacid<type>::value;
50 
64 template <typename type>
66 SEQAN3_CONCEPT AminoacidAlphabet = Alphabet<type> && is_aminoacid_v<remove_cvref_t<type>>;
68 
69 } // namespace seqan3
The generic alphabet concept that covers most data types used in ranges.
The main SeqAn3 namespace.
A concept that indicates whether an alphabet represents amino acids.Since an amino acid alphabet has ...
Core alphabet concept and free function/type trait wrappers.
Identifies amino acid alphabets.
Definition: concept.hpp:43