BloombergLP::bdlb::TypeTraitHasPrintMethod

A class should declare this trait if it has a print method with the following signature: ` bsl::ostream& print(bsl::ostream& stream, int level = 0, int spacesPerLevel = 4) const; `

Synopsis

Declared in <bdlb_printmethods.h>

struct TypeTraitHasPrintMethod;

Types

NameDescription
Metafunction Metafunction that evaluates to HasPrintMethod<TYPE>::type.
NestedTraitDeclaration This class template ties the bdlb::TypeTraitHasPrintMethod trait tag to the bdlb::HasPrintMethod trait metafunction.