mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-21 15:12:17 +00:00
geometry::index: commented out explicit copy ctor and assignment of ptr_pair.
[SVN r83879]
This commit is contained in:
@@ -24,8 +24,8 @@ public:
|
||||
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 @@ make_ptr_pair(First const& f, Pointer s)
|
||||
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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user