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; `
Declared in <bdlb_printmethods.h>
struct TypeTraitHasPrintMethod;
| Name | Description |
|---|---|
Metafunction | Metafunction that evaluates to HasPrintMethod<TYPE>::type. |
NestedTraitDeclaration | This class template ties the bdlb::TypeTraitHasPrintMethod trait tag to the bdlb::HasPrintMethod trait metafunction. |