SeqAn3  3.0.3
The Modern C++ library for sequence analysis.
bound.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 
15 #pragma once
16 
19 
20 SEQAN3_DEPRECATED_HEADER("This header is deprecated and will be removed in SeqAn-3.1.0. The contained functionality has been replaced by the seqan3::align_cfg::band_fixed_size configuration.")
21 
22 namespace seqan3
23 {
24 
29 template <seqan3::arithmetic value_t>
30 struct SEQAN3_DEPRECATED_310 lower_bound : detail::strong_type<value_t, lower_bound<value_t>>
31 {
33  using detail::strong_type<value_t, lower_bound<value_t>>::strong_type;
34 };
35 
40 template <seqan3::arithmetic value_t>
41 struct SEQAN3_DEPRECATED_310 upper_bound : detail::strong_type<value_t, upper_bound<value_t>>
42 {
44  using detail::strong_type<value_t, upper_bound<value_t>>::strong_type;
45 };
46 
55 template <seqan3::arithmetic value_t>
56 lower_bound(value_t) -> lower_bound<value_t>;
57 
61 template <seqan3::arithmetic value_t>
62 upper_bound(value_t) -> upper_bound<value_t>;
64 
65 } // namespace seqan3
Provides concepts for core language types and relations that don't have concepts in C++20 (yet).
T lower_bound(T... args)
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
#define SEQAN3_DEPRECATED_310
Deprecation message for SeqAn 3.1.0 release.
Definition: platform.hpp:203
#define SEQAN3_DEPRECATED_HEADER(message)
Deprecation message for deprecated header.
Definition: platform.hpp:213
Provides basic data structure for strong types.
T upper_bound(T... args)