Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83879 - trunk/boost/geometry/index/detail/rtree/node
From: adam.wulkiewicz_at_[hidden]
Date: 2013-04-13 14:28:42


Author: awulkiew
Date: 2013-04-13 14:28:41 EDT (Sat, 13 Apr 2013)
New Revision: 83879
URL: http://svn.boost.org/trac/boost/changeset/83879

Log:
geometry::index: commented out explicit copy ctor and assignment of ptr_pair.
Text files modified:
   trunk/boost/geometry/index/detail/rtree/node/pairs.hpp | 6 ++++--
   1 files changed, 4 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/index/detail/rtree/node/pairs.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/rtree/node/pairs.hpp (original)
+++ trunk/boost/geometry/index/detail/rtree/node/pairs.hpp 2013-04-13 14:28:41 EDT (Sat, 13 Apr 2013)
@@ -24,8 +24,8 @@
     typedef First first_type;
     typedef Pointer second_type;
     ptr_pair(First const& f, Pointer s) : first(f), second(s) {}
- ptr_pair(ptr_pair const& p) : first(p.first), second(p.second) {}
- ptr_pair & operator=(ptr_pair const& p) { first = p.first; second = p.second; return *this; }
+ //ptr_pair(ptr_pair const& p) : first(p.first), second(p.second) {}
+ //ptr_pair & operator=(ptr_pair const& p) { first = p.first; second = p.second; return *this; }
 
     first_type first;
     second_type second;
@@ -38,6 +38,8 @@
     return ptr_pair<First, Pointer>(f, s);
 }
 
+// TODO: It this will be used, rename it to unique_ptr_pair and possibly use unique_ptr.
+
 template <typename First, typename Pointer>
 class exclusive_ptr_pair
 {


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