merging changes from trunk.

[SVN r63565]
This commit is contained in:
Emil Dotchevski
2010-07-03 21:32:02 +00:00
parent 029bc12c85
commit eb810d49cb
8 changed files with 53 additions and 39 deletions

View File

@ -9,6 +9,7 @@
#include <boost/exception/info.hpp>
#include <boost/exception/diagnostic_information.hpp>
#include <boost/detail/lightweight_test.hpp>
#include <stdlib.h>
struct
my_exception:
@ -38,6 +39,7 @@ boost
#ifndef BOOST_NO_RTTI
BOOST_TEST(s.find("my_tag")!=std::string::npos);
#endif
exit(0);
}
}

View File

@ -28,11 +28,16 @@ test_type
++count_;
}
void
bool
release()
{
if( !--count_ )
if( --count_ )
return false;
else
{
delete this;
return true;
}
}
private: