Changes for Boost 1.45

[SVN r64330]
This commit is contained in:
Ion Gaztañaga
2010-07-25 15:37:24 +00:00
parent a9738586a3
commit 867cfc18db
21 changed files with 370 additions and 222 deletions

View File

@@ -49,16 +49,18 @@ class MyThrowingClass
int main ()
{
bool exception_thrown = false;
bool exception_2_thrown = false;
try{
detail::intermodule_singleton<MyThrowingClass>::get();
detail::intermodule_singleton<MyThrowingClass, true>::get();
}
catch(int &){
exception_thrown = true;
//Second try
try{
detail::intermodule_singleton<MyThrowingClass>::get();
detail::intermodule_singleton<MyThrowingClass, true>::get();
}
catch(interprocess_exception &){
exception_2_thrown = true;
@@ -77,7 +79,7 @@ int main ()
//Second try
exception_2_thrown = false;
try{
detail::intermodule_singleton<MyThrowingClass>::get();
detail::intermodule_singleton<MyThrowingClass, true>::get();
}
catch(interprocess_exception &){
exception_2_thrown = true;