Printer for formatted output of a std::optional.
More...
#include <seqan3/core/debug_stream/optional.hpp>
template<
typename T>
struct seqan3::optional_printer< std::optional< T > >
Printer for formatted output of a std::optional.
- Template Parameters
-
◆ operator()()
Print the optional to the stream by printing its value or nothing if valueless.
- Template Parameters
-
stream_t | The type of the stream. |
arg_t | The type of the argument. |
- Parameters
-
[in,out] | stream | The stream to print to. |
[in] | arg | The optional to print. |
The documentation for this struct was generated from the following file: