[#BloombergLP-bslim-Printer_Helper-printRaw-06c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/Printer_Helper.adoc[Printer_Helper]::printRaw :relfileprefix: ../../../ :mrdocs: Print the value held by the specified optional `data`, if engaged. == Synopsis Declared in `<bslim_printer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static void printRaw( std::ostream& stream, xref:bsl/optional-072.adoc[bsl::optional<TYPE>] const& data, int level, int spacesPerLevel, xref:BloombergLP/bslmf/SelectTraitCase.adoc[bslmf::SelectTraitCase<>] traits); ---- == Parameters [cols="1,4"] |=== | Name| Description | *stream* | output stream to which `data` is printed | *data* | optional value to print, or "NULL" if disengaged | *level* | indentation level as defined by the BDE `print` contract | *spacesPerLevel* | spaces per indentation level; negative for single‐line output | *traits* | unused trait tag for overload resolution |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#