SeqAn3 3.1.0-rc.2
The Modern C++ library for sequence analysis.
max_error_common.hpp
Go to the documentation of this file.
1// -----------------------------------------------------------------------------------------------------
2// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
3// Copyright (c) 2016-2021, 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
14#pragma once
15
16#include <seqan3/std/concepts>
17
20
21namespace seqan3::search_cfg
22{
23
29 error_count,
30 detail::strong_type_skill::convert | detail::strong_type_skill::comparable>
31{
33 using detail::strong_type<uint8_t,
35 detail::strong_type_skill::convert | detail::strong_type_skill::comparable>::strong_type;
36};
37
43 error_rate,
44 detail::strong_type_skill::convert | detail::strong_type_skill::comparable>
45{
47 using detail::strong_type<double,
49 detail::strong_type_skill::convert | detail::strong_type_skill::comparable>::strong_type;
50};
51
52} // namespace seqan3::search_cfg
CRTP base class to declare a strong typedef for a regular type to avoid ambiguous parameter settings ...
Definition: strong_type.hpp:175
The Concepts library.
Provides concepts for core language types and relations that don't have concepts in C++20 (yet).
A special sub namespace for the search configurations.
Provides basic data structure for strong types.
A strong type of underlying type uint8_t that represents the number of errors.
Definition: max_error_common.hpp:31
A strong type of underlying type double that represents the rate of errors.
Definition: max_error_common.hpp:45