Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82508 - sandbox/static_vector/boost/container
From: adam.wulkiewicz_at_[hidden]
Date: 2013-01-15 18:40:00


Author: awulkiew
Date: 2013-01-15 18:39:59 EST (Tue, 15 Jan 2013)
New Revision: 82508
URL: http://svn.boost.org/trac/boost/changeset/82508

Log:
Removed unneeded comments.
Text files modified:
   sandbox/static_vector/boost/container/static_vector.hpp | 8 --------
   1 files changed, 0 insertions(+), 8 deletions(-)

Modified: sandbox/static_vector/boost/container/static_vector.hpp
==============================================================================
--- sandbox/static_vector/boost/container/static_vector.hpp (original)
+++ sandbox/static_vector/boost/container/static_vector.hpp 2013-01-15 18:39:59 EST (Tue, 15 Jan 2013)
@@ -480,8 +480,6 @@
     static_vector(BOOST_RV_REF_3_TEMPL_ARGS(static_vector, value_type, C, S) other)
         : m_size(other.m_size)
     {
-// TODO - move only if pointers are the same
-
         errh::check_capacity(*this, other.size()); // may throw
 
         typedef typename
@@ -541,8 +539,6 @@
     template <std::size_t C, typename S>
     static_vector & operator=(BOOST_RV_REF_3_TEMPL_ARGS(static_vector, value_type, C, S) other)
     {
-// TODO - move only if pointers are the same
-
         errh::check_capacity(*this, other.size()); // may throw
 
         typedef typename
@@ -583,8 +579,6 @@
     //! Linear O(N).
     void swap(static_vector & other)
     {
-// TODO - move only if pointers are the same
-
         typedef typename
         static_vector_detail::static_vector_traits<
             Value, Capacity, Strategy
@@ -614,8 +608,6 @@
     template <std::size_t C, typename S>
     void swap(static_vector<value_type, C, S> & other)
     {
-// TODO - move only if pointers are the same
-
         errh::check_capacity(*this, other.size());
         errh::check_capacity(other, this->size());
 


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