CppCommon  1.0.4.1
C++ Common Library
memory_leaks.cpp

Memory leaks detection example

#include <iostream>
int main(int argc, char** argv)
{
[[maybe_unused]] int* ptr = nullptr;
// Make some memory leaks
ptr = new int;
ptr = new int[100];
return 0;
}
Memory leaks detecting tool. Include this file to detect memory leaks in release build.