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; `
Synopsis
Declared in <bdlb_printmethods.h>
template<class TYPE>
struct HasPrintMethod
: bslmf::DetectNestedTrait<TYPE, HasPrintMethod>::type
Base Classes
Name |
Description |
|
Specializations
Created with MrDocs