SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
|
A std::variant can be printed by visiting the stream operator for the corresponding type. More...
#include <seqan3/core/debug_stream/variant.hpp>
Public Member Functions | |
template<typename stream_t , typename arg_t > | |
constexpr void | operator() (stream_t &stream, arg_t &&arg) const |
Prints the variant by visiting the stream operator for the corresponding type. | |
A std::variant can be printed by visiting the stream operator for the corresponding type.
variant_ts | The types of the variant. |
|
inlineconstexpr |
Prints the variant by visiting the stream operator for the corresponding type.
stream_t | The type of the stream. |
arg_t | The type of the argument. |
[in,out] | stream | The output stream. |
[in] | arg | The variant argument to print. |
Note that in case the variant is valueless(_by_exception), nothing is printed.