SeqAn3
3.4.0-rc.4
The Modern C++ library for sequence analysis.
Toggle main menu visibility
Welcome
Setup
Quick Setup (using CMake)
Tutorial
First steps with SeqAn
Parsing command line arguments with Sharg
C++ Concepts
Alphabets in SeqAn
Ranges
Minimisers
Sequence File Input and Output
Pairwise Alignment
Indexing and searching with SeqAn
SAM Input and Output in SeqAn
Implementing your own read mapper with SeqAn
How-To
Porting from SeqAn2
How to write an argument parser with subcommands
How to serialise SeqAn data structures
How to write a view
How to write your own alphabet
Cookbook
About
Stability and long-term promises
Citing
Customisation
Changelog
Copyright
Code of Conduct
Contributing
API Reference
API Reference (details)
Namespace List
Namespace List
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Typedefs
a
b
c
d
e
f
h
i
m
o
p
q
r
s
t
u
v
w
Related Symbols
a
c
d
g
o
s
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
core/range/detail/misc.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
10
#pragma once
11
12
#include <
ranges
>
13
14
#include <
seqan3/core/platform.hpp
>
15
16
namespace
seqan3::detail
17
{
18
27
template
<std::ranges::input_range rng_t>
28
constexpr
void
consume(rng_t && rng)
29
{
30
auto
it =
begin
(rng);
31
auto
it_end =
end
(rng);
32
while
(it != it_end)
33
++it;
34
}
35
36
template
<std::ranges::forward_range rng_t>
37
constexpr
void
consume(rng_t &&)
38
{}
39
40
}
// namespace seqan3::detail
std::begin
T begin(T... args)
std::end
T end(T... args)
platform.hpp
Provides platform and dependency checks.
ranges
Hide me
Version:
seqan3
core
range
detail
misc.hpp
Generated on Sun Mar 9 2025 01:26:13 for SeqAn3 by
1.9.8