SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::detail::debug_stream_range_guard Concept Reference

A helper concept definition for ranges that can be streamed to the seqan3::debug_stream. More...

#include <seqan3/core/debug_stream/range.hpp>

Concept definition

template<typename rng_t>
std::same_as<std::remove_cvref_t<std::ranges::range_reference_t<rng_t>>,
&&
!(std::is_pointer_v<std::decay_t<rng_t>>
&& std::same_as<std::remove_cvref_t<std::ranges::range_reference_t<rng_t>>, char>)
A helper concept definition for ranges that can be streamed to the seqan3::debug_stream.
Definition range.hpp:36

Detailed Description

A helper concept definition for ranges that can be streamed to the seqan3::debug_stream.

Template Parameters
rng_tThe range type to check.

This concept refines the std::ranges::input_range concept to allow streaming the range object to the debug stream, with the following requirements:

  • rng_t is not the same type as std::ranges::range_reference_t<rng_t>,
  • rng_t is not a pointer or c-style array,
  • std::ranges::range_reference_t<rng_t> is not char.
Hide me