Provides core functionality used to print seqan3 and std types.
More...
Provides core functionality used to print seqan3 and std types.
- See also
- Core
◆ fmtflags2
Flags that change the behaviour of the seqan3::debug_stream.
- See also
- seqan3::enum_bitwise_operators enables combining enum values.
Enumerator |
---|
none | No flag is set.
|
utf8 | Enables use of non-ASCII UTF8 characters in formatted output.
|
small_int_as_number | int8_t and uint8_t are often aliases for signed char and unsigned char resp. resulting in chars being printed; this options prints them as numbers.
|
◆ debug_stream_range_guard
template<typename rng_t >
SEQAN3_CONCEPT seqan3::detail::debug_stream_range_guard |
Initial value:=
!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.
- Template Parameters
-
rng_t | The 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
.
◆ reference_type_is_streamable_v
template<std::ranges::range rng_t, typename char_t >
constexpr bool seqan3::detail::reference_type_is_streamable_v = false |
|
constexpr |
Helper template variable that checks if the reference type of a range can be streamed into an instance of seqan3::debug_stream_type .
- Template Parameters
-
rng_t | The range type to check. |
char_t | The char type of the stream. |
Evaluates to true
if the following expression is valid: debug_stream << *rng.begin();
, where rng is of type rng_t. Otherwise false.