debugprint overloads

Synopses

Declared in <bsls_bsltestutil.h>

Print to the console the string "true" if the specified v is true, and the string "false" otherwise.

void
debugprint(bool v);

Print to the console the specified character, v, enclosed by single‐quote characters (').

void
debugprint(char v);

See the float overload above.

void
debugprint(double v);

Print to the console the specified value, v, formatted as a string enclosed by single‐quote characters (').

void
debugprint(float v);

See the signed char overload above.

void
debugprint(int v);

See the signed char overload above.

void
debugprint(long v);

See the float overload above.

void
debugprint(long double v);

See the signed char overload above.

void
debugprint(long long v);

See the signed char overload above.

void
debugprint(short v);

Print to the console the specified integer value, v, formatted as a string.

void
debugprint(signed char v);

See the signed char overload above.

void
debugprint(unsigned char v);

See the signed char overload above.

void
debugprint(unsigned int v);

See the signed char overload above.

void
debugprint(unsigned long v);

See the signed char overload above.

void
debugprint(unsigned long long v);

See the signed char overload above.

void
debugprint(unsigned short v);

See the const char * overload above.

void
debugprint(char* v);

Print to the console the specified memory address, v, formatted as a hexadecimal integer.

void
debugprint(void* v);

See the const char * overload above.

void
debugprint(char volatile* v);

See the void * overload above.

void
debugprint(void volatile* v);

Print to the console the specified string, v, enclosed by quote characters ("), unless v is null, in which case print (null) (without quotes of any kind).

void
debugprint(char const* v);

See the void * overload above.

void
debugprint(void const* v);

See the const char * overload above.

void
debugprint(char const volatile* v);

See the void * overload above.

void
debugprint(void const volatile* v);

Print a function pointer as a hexadecimal address.

template<class RESULT>
void
debugprint(RESULT(* v)());

Parameters

Name

Description

v

boolean value to print

Created with MrDocs