OSDN Git Service

2009-11-13 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Nov 2009 15:06:28 +0000 (15:06 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Nov 2009 15:06:28 +0000 (15:06 +0000)
* include/std/algorithm: Include <utility>, per UK-300.
* include/bits/stl_algobase.h: Don't do it here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154152 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algobase.h
libstdc++-v3/include/std/algorithm

index 4bd07dd..a5f6383 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-13  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/algorithm: Include <utility>, per UK-300.
+       * include/bits/stl_algobase.h: Don't do it here.
+
 2009-11-12  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/std/type_traits (declval): Add, per DR 1255.
index 5feeebe..f9c3ab2 100644 (file)
 #include <bits/cpp_type_traits.h>
 #include <ext/type_traits.h>
 #include <ext/numeric_traits.h>
+#include <bits/stl_pair.h>
 #include <bits/stl_iterator_base_types.h>
 #include <bits/stl_iterator_base_funcs.h>
 #include <bits/stl_iterator.h>
 #include <bits/concept_check.h>
 #include <debug/debug.h>
-#include <utility> // UK-300.
+#include <bits/move.h> // For std::swap and _GLIBCXX_MOVE
 
 _GLIBCXX_BEGIN_NAMESPACE(std)
 
index cb8488c..7449ec3 100644 (file)
@@ -1,6 +1,6 @@
 // <algorithm> -*- C++ -*-
 
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -58,6 +58,7 @@
 
 #pragma GCC system_header
 
+#include <utility> // UK-300.
 #include <bits/stl_algobase.h>
 #include <bits/stl_algo.h>