SeqAn3 3.4.0-rc.3
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::tuple_printer< tuple_t > Struct Template Reference

Printer for formatted output of tuple like objects. More...

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

Public Member Functions

template<typename stream_t , typename arg_t >
constexpr void operator() (stream_t &stream, arg_t &&arg) const
 Prints a tuple to a formatted output stream.
 

Detailed Description

template<tuple_like tuple_t>
struct seqan3::tuple_printer< tuple_t >

Printer for formatted output of tuple like objects.

Template Parameters
tuple_tType of the tuple to be printed; must model seqan3::tuple_like.

Member Function Documentation

◆ operator()()

template<tuple_like tuple_t>
constexpr void seqan3::tuple_printer< tuple_t >::operator() ( stream_t stream,
arg_t &&  arg 
) const
inlineconstexpr

Prints a tuple to a formatted output stream.

Takes a stream and a tuple object as arguments and prints the tuple elements to the stream. The elements are printed using the detail::print_tuple function.

Template Parameters
stream_tThe type of the stream.
arg_tThe type of the argument.
Parameters
[in,out]streamThe stream to print to.
[in]argThe tuple to print.

The documentation for this struct was generated from the following file:
Hide me