Return the specified functionPtr (expected to be a static function pointer) without modification.
Declared in <bslmt_testutil.h>
template<class FUNCTION_PTR>
static
FUNCTION_PTR
makeFunctionCallNonInline(FUNCTION_PTR functionPtr);
The value of functionPtr is transformed through identityPtr so that if the caller is in a different module, the compiler will have no way of knowing that this is an identity function and thus no way of inlining the call.
functionPtr unchanged
| Name | Description |
|---|---|
| functionPtr | static function pointer to return without modification |