Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71615 - sandbox/block_ptr/boost
From: phil_at_[hidden]
Date: 2011-04-29 20:22:41


Author: pbouchard
Date: 2011-04-29 20:22:40 EDT (Fri, 29 Apr 2011)
New Revision: 71615
URL: http://svn.boost.org/trac/boost/changeset/71615

Log:
* Changed private classes to structs
Text files modified:
   sandbox/block_ptr/boost/block_ptr.hpp | 6 +-----
   1 files changed, 1 insertions(+), 5 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-04-29 20:22:40 EDT (Fri, 29 Apr 2011)
@@ -51,7 +51,6 @@
 {
 
 
-template <typename> class block_ptr;
 class block_base;
 
 
@@ -61,10 +60,8 @@
         Proxy object used to count the number of pointers from the stack are referencing pointee objects belonging to the same @c block_header .
 */
 
-class block_header
+struct block_header
 {
- template <typename> friend class block_ptr;
-
     typedef detail::atomic_count count_type;
 
 #ifndef BOOST_DISABLE_THREADS
@@ -82,7 +79,6 @@
 
     static fast_pool_allocator<block_header> pool_;/**< Pool where all sets are allocated. */
 
-public:
         /**
                 Initialization of a single @c block_header .
         */


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