If any leaks are detected, prints a leak report and returns true. This function may be called repeatedly, and does not affect end‐of‐process leak checking.
Synopsis
Declared in <absl/debugging/leak_check.h>
bool
FindAndReportLeaks();
Description
Example: if (FindAndReportLeaks()) { ... diagnostic already printed. Exit with failure code. exit(1) }
Return Value
True if any leaks were detected.
Created with MrDocs