Update of /cvsroot/boost/boost/boost/interprocess/smart_ptr/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22035/smart_ptr/detail
Modified Files:
shared_count.hpp sp_counted_impl.hpp
Log Message:
New Interprocess version
Index: shared_count.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/smart_ptr/detail/shared_count.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- shared_count.hpp 12 Jun 2007 17:07:10 -0000 1.3
+++ shared_count.hpp 22 Jul 2007 14:06:07 -0000 1.4
@@ -83,7 +83,7 @@
m_pi = alloc.allocate(1);
//Anti-exception deallocator
scoped_ptr<counted_impl,
- scoped_ptr_deallocator<counted_impl_allocator> >
+ scoped_ptr_dealloc_functor<counted_impl_allocator> >
deallocator(m_pi, alloc);
//It's more correct to use A::construct but
//this needs copy constructor and we don't like it
Index: sp_counted_impl.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- sp_counted_impl.hpp 12 Jun 2007 17:07:10 -0000 1.3
+++ sp_counted_impl.hpp 22 Jul 2007 14:06:08 -0000 1.4
@@ -84,7 +84,7 @@
this_pointer this_ptr (this);
//Do it now!
scoped_ptr<this_type,
- scoped_ptr_deallocator<this_allocator> >(this_ptr, a_copy);
+ scoped_ptr_dealloc_functor<this_allocator> >(this_ptr,
a_copy);
typedef typename this_allocator::value_type value_type;
detail::get_pointer(this_ptr)->~value_type();
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs