BloombergLP::bsls::BslTestUtil::callDebugprint

Print the value of object to the console.

Synopsis

Declared in <bsls_bsltestutil.h>

template<class TYPE>
static
void
callDebugprint(
    TYPE const& object,
    char const* leadingString = 0,
    char const* trailingString = 0);

Description

Print the value of the specified object of the parameterized TYPE to the console. Optionally specify a leadingString, which will be printed before object, and a trailingString, which will be printed after object. If leadingString is 0, then nothing will be printed before object. If trailingString is 0, then nothing will be printed after object.

Parameters

NameDescription
objectvalue of parameterized TYPE to print
leadingStringoptional prefix string, or 0 for none
trailingStringoptional suffix string, or 0 for none