]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/45281 (performance/ext/pb_ds/priority_queue_text_modify_down_timing...
authorPaolo Carlini <paolo.carlini@oracle.com>
Sat, 14 Aug 2010 00:09:21 +0000 (00:09 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 14 Aug 2010 00:09:21 +0000 (00:09 +0000)
2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/45281
* include/bits/stl_queue.h (queue(queue&&), operator=(queue&&),
priority_queue(priority_queue&&), operator=(priority_queue&&)):
Remove, per CH 15.

From-SVN: r163231

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_queue.h

index 16bbcc9a493d7c5163e34cae86efa5a78d8d3d48..f5c99a7f4bf42b54e9a7fe22afdbfe140b4e7ad0 100644 (file)
@@ -1,3 +1,10 @@
+2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/45281
+       * include/bits/stl_queue.h (queue(queue&&), operator=(queue&&),
+       priority_queue(priority_queue&&), operator=(priority_queue&&)):
+       Remove, per CH 15.
+
 2010-08-13  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * testsuite/23_containers/unordered_map/dr1189.cc: Move to...
index 058f1b65d271f2fbca461cf34ec2477828e12314..96e29ed636e416b4a74baf6e777194ad15a39bf6 100644 (file)
@@ -1,6 +1,6 @@
 // Queue implementation -*- C++ -*-
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -137,16 +137,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
       explicit
       queue(_Sequence&& __c = _Sequence())
       : c(std::move(__c)) { }
-
-      queue(queue&& __q)
-      : c(std::move(__q.c)) { }
-
-      queue&
-      operator=(queue&& __q)
-      {
-       c = std::move(__q.c);
-       return *this;
-      }
 #endif
 
       /**
@@ -451,17 +441,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
          c.insert(c.end(), __first, __last);
          std::make_heap(c.begin(), c.end(), comp);
        }
-
-      priority_queue(priority_queue&& __pq)
-      : c(std::move(__pq.c)), comp(std::move(__pq.comp)) { }
-
-      priority_queue&
-      operator=(priority_queue&& __pq)
-      {
-       c = std::move(__pq.c);
-       comp = std::move(__pq.comp);
-       return *this;
-      }
 #endif
 
       /**