Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72145 - in sandbox/block_ptr: boost libs/smart_ptr/example
From: phil_at_[hidden]
Date: 2011-05-24 20:17:22


Author: pbouchard
Date: 2011-05-24 20:17:21 EDT (Tue, 24 May 2011)
New Revision: 72145
URL: http://svn.boost.org/trac/boost/changeset/72145

Log:
* Removed USE_RAW_POINTER macro
Text files modified:
   sandbox/block_ptr/boost/block_ptr.hpp | 2 --
   sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp | 1 -
   sandbox/block_ptr/libs/smart_ptr/example/thread_test.cpp | 1 -
   3 files changed, 0 insertions(+), 4 deletions(-)

Modified: sandbox/block_ptr/boost/block_ptr.hpp
==============================================================================
--- sandbox/block_ptr/boost/block_ptr.hpp (original)
+++ sandbox/block_ptr/boost/block_ptr.hpp 2011-05-24 20:17:21 EDT (Tue, 24 May 2011)
@@ -241,9 +241,7 @@
             intrusive_stack::node pn_; /**< Tag used for enlisting a pointer on the heap to later share the @c block_header it belongs to. */
         };
 
-#ifdef BOOST_BP_USE_RAW_POINTER
         public:
-#endif
                 /**
                         Initialization of a pointer living on the stack or proper enlistment if living on the heap.
                         

Modified: sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp
==============================================================================
--- sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp (original)
+++ sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp 2011-05-24 20:17:21 EDT (Tue, 24 May 2011)
@@ -4,7 +4,6 @@
 #include <iostream>
 #include <boost/shared_ptr.hpp>
 #include <boost/make_shared.hpp>
-#define BOOST_BP_USE_RAW_POINTER
 #include <boost/block_ptr.hpp>
 
 using namespace std;

Modified: sandbox/block_ptr/libs/smart_ptr/example/thread_test.cpp
==============================================================================
--- sandbox/block_ptr/libs/smart_ptr/example/thread_test.cpp (original)
+++ sandbox/block_ptr/libs/smart_ptr/example/thread_test.cpp 2011-05-24 20:17:21 EDT (Tue, 24 May 2011)
@@ -1,6 +1,5 @@
 #include <iostream>
 #include <boost/thread.hpp>
-#define BOOST_BP_USE_RAW_POINTER
 #include <boost/block_ptr.hpp>
 //#include <boost/thread/mutex.hpp>
 


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