This class provides a wrapper to enable a streamable type to be used with bsl::format (and std::format) when no formatter specialization is provided (the type is not formattable). Note that it is possible to use this wrapper with types that have a formatter, if the compiler supports it we give a compilation warning directing the user to use the existing formatter instead of wrapping to use the streaming operator.
Synopsis
Declared in <bslfmt_streamed.h>
template<class t_STREAMABLE>
class Streamed;
Member Functions
Friends
Name |
Description |
Create and return a |
|
Create and return a |
Non-Member Functions
Name |
Description |
Create and return a |
Created with MrDocs