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

A strong type can be printed by printing its underlying value. More...

Public Member Functions

template<typename stream_t , typename arg_t >
constexpr void operator() (stream_t &stream, arg_t &&arg) const
 Prints the stored value of the given strong type.
 

Detailed Description

template<detail::derived_from_strong_type strong_type_t>
struct seqan3::strong_type_printer< strong_type_t >

A strong type can be printed by printing its underlying value.

Template Parameters
strong_type_tThe type of the strong type; must be derived from seqan3::detail::strong_type.

Member Function Documentation

◆ operator()()

template<detail::derived_from_strong_type strong_type_t>
template<typename stream_t , typename arg_t >
constexpr void seqan3::strong_type_printer< strong_type_t >::operator() ( stream_t &  stream,
arg_t &&  arg 
) const
inlineconstexpr

Prints the stored value of the given strong type.

Template Parameters
stream_tThe type of the stream.
arg_tThe type of the argument.
Parameters
[in,out]streamThe output stream.
[in]argThe strong typed value to print.

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