...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Parameter detect_memory_leaks enables/disables memory leaks detection (if present in your build configuration). This parameter has an optional long integer value. The default value is 1, which enables memory leak detection. The value 0 disables memory leak detection. Any value N greater than 1 is treated as leak allocation number and tells the framework to setup runtime breakpoint at Nth heap allocation. If value is omitted the default value is assumed.
Note | |
---|---|
The only platform which supports memory leak detection is Microsoft Visual Studio family of compilers in debug builds. |
--detect_memory_leaks[=<alloc
order number>]
BOOST_TEST_DETECT_MEMORY_LEAK