A class, TYPE, should specialize this trait to derive from true_type 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>
template<class TYPE>
struct HasPrintMethod
: bslmf::DetectNestedTrait<TYPE, HasPrintMethod>::type
| Name | Description |
|---|---|
bslmf::DetectNestedTrait<TYPE, HasPrintMethod>::type |