SeqAn3  3.0.2
The Modern C++ library for sequence analysis.
bound.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2020, 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 
17 
18 namespace seqan3
19 {
20 
25 template <seqan3::arithmetic value_t>
26 struct lower_bound : detail::strong_type<value_t, lower_bound<value_t>>
27 {
29  using detail::strong_type<value_t, lower_bound<value_t>>::strong_type;
30 };
31 
36 template <seqan3::arithmetic value_t>
37 struct upper_bound : detail::strong_type<value_t, upper_bound<value_t>>
38 {
40  using detail::strong_type<value_t, upper_bound<value_t>>::strong_type;
41 };
42 
51 template <seqan3::arithmetic value_t>
53 
58 template <seqan3::arithmetic value_t>
61 
62 } // namespace seqan3
seqan3::lower_bound
Type for a lower boundary.
Definition: bound.hpp:27
seqan3::upper_bound
Type for an upper boundary.
Definition: bound.hpp:38
strong_type.hpp
Provides basic data structure for strong types.
seqan3::upper_bound::upper_bound
upper_bound(value_t) -> upper_bound< value_t >
Deduces the underlying upper boundary type.
core_language.hpp
Provides concepts for core language types and relations that don't have concepts in C++20 (yet).
seqan3
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
seqan3::lower_bound::lower_bound
lower_bound(value_t) -> lower_bound< value_t >
Deduces the underlying lower boundary type.