This struct provides a namespace for a suite of utility functions that facilitate the creation of BDE‐style test drivers.

Synopsis

Declared in <bslmt_testutil.h>

struct TestUtil;

Description

The callFunc function, because it's out‐of‐line implementation is in the .cpp file, can be used to prevent unwanted inlining in test drivers, particularly useful when testing the stack trace functionality.

Static Member Functions

Name

Description

makeFunctionCallNonInline

Return the specified functionPtr (expected to be a static function pointer) without modification.

Created with MrDocs