streamed overloads

Synopses

Declared in <bslfmt_streamed.h>

Create and return a Streamed wrapper for the specified object when t_STREAMABLE2 is not formattable.

Streamed<t_STREAMABLE2>
streamed(t_STREAMABLE2 const& object)
requires (!bsl::formattable<t_STREAMABLE2, char>);

Create and return a Streamed wrapper for the specified object when t_STREAMABLE2 is already formattable (emits a deprecation warning).

Streamed<t_STREAMABLE2>
streamed(t_STREAMABLE2 const& object)
requires (bsl::formattable<t_STREAMABLE2, char>);

Create and return a bslfmt::Streamed wrapper for the specified object.

template<class t_STREAMABLE>
bslfmt::Streamed<t_STREAMABLE>
streamed(t_STREAMABLE const& object)
requires (bsl::formattable<t_STREAMABLE, char>);

Return Value

a Streamed wrapper referring to object

Parameters

Name

Description

object

Streamable object to wrap for formatting via operator<<.

Created with MrDocs