Print the specified object to the specified stream using operator<<.
Synopsis
Declared in <bdlb_printmethods.h>
static
std::ostream&
print(
std::ostream& stream,
TYPE const& object,
int level,
int spacesPerLevel);
Description
Note that a compiler error will result if the specified TYPE does not have a << output stream operator.
Return Value
reference to stream
Parameters
Name |
Description |
stream |
output stream |
object |
object to print |
level |
initial indentation level |
spacesPerLevel |
spaces per indentation level |
Created with MrDocs