Quick Links: |
#include <bdlb_printadapter.h>
Static Public Member Functions | |
template<class TYPE > | |
static PrintAdapter< TYPE > | makeAdapter (const TYPE &object, int level=0, int spacesPerLevel=4) |
This struct
provides a namespace for a function template that facilitates the construction of a PrintAdapter
without having to explicitly specify template arguments in C++03. Note that in C++17 and later, CTAD may be used instead of this struct
to call the PrintAdapter
constructor without having to explicitly specify the template argument.
See Component bdlb_printadapter
static PrintAdapter<TYPE> bdlb::PrintAdapterUtil::makeAdapter | ( | const TYPE & | object, | |
int | level = 0 , |
|||
int | spacesPerLevel = 4 | |||
) | [static] |
Create and return a PrintAdapter
object, passing the constructor the specified object
, level
, and spacesPerLevel
.