SeqAn3 3.1.0
The Modern C++ library for sequence analysis.
byte.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
13#pragma once
14
15#include <seqan3/std/concepts>
17
19
20namespace seqan3
21{
31template <typename char_t, typename byte_type>
33 requires std::same_as<std::remove_cvref_t<byte_type>, std::byte>
36{
37 s << std::to_integer<uint8_t>(arg);
38 return s;
39}
40
42
43} // namespace seqan3
A "pretty printer" for most SeqAn data structures and related types.
Definition: debug_stream_type.hpp:78
The <concepts> header from C++20's standard library.
Provides seqan3::debug_stream and related types.
debug_stream_type< char_t > & operator<<(debug_stream_type< char_t > &stream, alignment_t &&alignment)
Stream operator for alignments, which are represented as tuples of aligned sequences.
Definition: debug_stream_alignment.hpp:101
The main SeqAn3 namespace.
Definition: cigar_operation_table.hpp:2
The <type_traits> header from C++20's standard library.