Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59876 - sandbox/statistics/detail/assign/boost/assign/auto_size/detail
From: erwann.rogard_at_[hidden]
Date: 2010-02-24 12:40:16


Author: e_r
Date: 2010-02-24 12:40:15 EST (Wed, 24 Feb 2010)
New Revision: 59876
URL: http://svn.boost.org/trac/boost/changeset/59876

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_refence_copy.hpp | 14 +++++++-------
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp | 6 ------
   2 files changed, 7 insertions(+), 13 deletions(-)

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_refence_copy.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_refence_copy.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_refence_copy.hpp 2010-02-24 12:40:15 EST (Wed, 24 Feb 2010)
@@ -1,7 +1,7 @@
 //////////////////////////////////////////////////////////////////////////////
-// assign::detail::assign_reference_copy.hpp //
+// assign::detail::assign_reference_copy.hpp //
 // //
-// (C) Copyright 2010 M.P.G //
+// (C) Copyright 2010 M.P.G //
 // Use, modification and distribution are subject to the //
 // Boost Software License, Version 1.0. (See accompanying file //
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
@@ -13,12 +13,12 @@
 namespace assign{
 namespace detail{
 
- // This is a reference wrapper whose assignment operator copies the value of
+ // This is a reference wrapper whose assignment operator copies the value of
     // the rhs to the object pointed to.
     //
     // This is in contrast to assign_reference whose operator= rebinds the
     // address of the internal pointer. To that effect, here, call rebind()
- template< class T >
+ template< class T >
     struct assign_reference_copy
     {
         assign_reference_copy()
@@ -29,7 +29,7 @@
 
         void operator=( const T& r )
         {
- *ref_ = r;
+ *ref_ = r;
         }
 
         operator T&() const
@@ -47,9 +47,9 @@
             return *ref_;
         }
 
- void rebind( T & r )
+ void rebind( T & r )
             {
- ref_ = &r;
+ ref_ = &r;
             }
         
     private:

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp 2010-02-24 12:40:15 EST (Wed, 24 Feb 2010)
@@ -125,7 +125,6 @@
         }
         iterator end()
         {
- this->alloc_if();
             return boost::end(this->ref_array());
         }
 
@@ -135,7 +134,6 @@
         }
         const_iterator end()const
         {
- this->alloc_if();
             return boost::end(this->ref_array());
         }
 
@@ -164,10 +162,6 @@
             }
         }
 
- const ref_array_& ref_array()const{
- this->alloc_if();
- return (*this->ptr);
- }
         ref_array_& ref_array(){
             this->alloc_if();
             return (*this->ptr);


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