[#BloombergLP-bdlb-PrintMethods_Imp-0c-print] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/PrintMethods_Imp-0c.adoc[PrintMethods_Imp<TYPE, bslmf::SelectTraitCase<>>]::print :relfileprefix: ../../../ :mrdocs: Print the specified `object` to the specified `stream` using its `<<` output stream operator. Note that a compiler error will result if the specified `TYPE` does not have a `<<` output stream operator. == Synopsis Declared in `<bdlb_printmethods.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::ostream& print( std::ostream& stream, TYPE const& object, int level, int spacesPerLevel); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#