|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71140 - trunk/libs/interprocess/test
From: igaztanaga_at_[hidden]
Date: 2011-04-09 04:47:08
Author: igaztanaga
Date: 2011-04-09 04:47:07 EDT (Sat, 09 Apr 2011)
New Revision: 71140
URL: http://svn.boost.org/trac/boost/changeset/71140
Log:
Non-throwing make_managed_shared_ptr version.
Text files modified:
trunk/libs/interprocess/test/shared_ptr_test.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Modified: trunk/libs/interprocess/test/shared_ptr_test.cpp
==============================================================================
--- trunk/libs/interprocess/test/shared_ptr_test.cpp (original)
+++ trunk/libs/interprocess/test/shared_ptr_test.cpp 2011-04-09 04:47:07 EDT (Sat, 09 Apr 2011)
@@ -612,6 +612,8 @@
BOOST_TEST( !!p2 );
BOOST_TEST( p2.use_count() == p.use_count() );
BOOST_TEST( !( p < p2 ) && !( p2 < p ) );
+ int_shared_ptr p_nothrow(make_managed_shared_ptr
+ (shmem.construct<int>(anonymous_instance)(), shmem, std::nothrow));
}
}
shared_memory_object::remove(process_name.c_str());
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk