An extremely simple piece test, containing just one stack-created
object, is causing boost.test to report a memory leak.
I am using boost 1.34.1 compiled in windows using configure, bjam, &
msvc90. I've copied my simple test case illustrating my problem below,
and included the output it produces.
As you can see, boost.test is being used, but the regex is part of
microsoft's tr1. As a note, when I modify it to use boost's regex (with
the commented-out changes seen in code), no such errors were reported.
I'd like to say that obviously the SOLE problem lies in MS' beta tr1
implementation, but this code is so simple I don't get how that would
be. Also, i believe the actual TR1 impl is from dinkumware and is
supposed to be fully release ready (it is just the ms-CLI, etc,
integration which leads to the beta designation)...
Hopefully someone has more insight into this. Also, if someone has any
tips on how to interpret the memory dump boost.test provides, I'd be
interested in learning.
Thanks in advance!
//begin code//
//file dumb_test.cpp
//in a new, default solution w/ precompiled headers turned off,
//all msvc files removed, and include_path += $(boost_root)
//lib_path += $(boost_root)/stage/lib added
#include