Loading...
Searching...
No Matches
byte.hpp
Go to the documentation of this file.
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include <concepts>
#include <type_traits>
#include <seqan3/core/debug_stream/debug_stream_type.hpp>
namespace seqan3
{
template <>
struct std_byte_printer<std::byte>
{
template <typename stream_t>
constexpr void operator()(stream_t & stream, std::byte const arg) const
{
stream << std::to_integer<uint8_t>(arg);
}
};
} // namespace seqan3
debug_stream_type.hpp
Provides seqan3::debug_stream and related types.
seqan3
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
std
SeqAn specific customisations in the standard namespace.
seqan3::std_byte_printer< std::byte >::operator()
constexpr void operator()(stream_t &stream, std::byte const arg) const
Prints the byte as uint8_t value.
Definition byte.hpp:31
seqan3::std_byte_printer
Definition default_printer.hpp:45
type_traits
Hide me