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

Name

Description

object

value of parameterized TYPE to print

leadingString

optional prefix string, or 0 for none

trailingString

optional suffix string, or 0 for none

Created with MrDocs