Print the value held by the specified optional data, if engaged.
Synopsis
Declared in <bslim_printer.h>
template<class TYPE>
static
void
printRaw(
std::ostream& stream,
bsl::optional<TYPE> const& data,
int level,
int spacesPerLevel,
bslmf::SelectTraitCase<> traits);
Parameters
Name |
Description |
stream |
output stream to which |
data |
optional value to print, or "NULL" if disengaged |
level |
indentation level as defined by the BDE |
spacesPerLevel |
spaces per indentation level; negative for single‐line output |
traits |
unused trait tag for overload resolution |
Created with MrDocs