aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2010-08-05 08:45:26 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2010-08-05 08:45:26 +0000
commit9316258dcb09219753a9cb0864c7d493bb7d3b31 (patch)
tree186d183f8748b43b85db31d1a80fbbaa6be4943b /libstdc++-v3/include
parenta5b2e0efa44ffa7bea573f3eb97e888e7e33ae9a (diff)
downloadgcc-9316258dcb09219753a9cb0864c7d493bb7d3b31.zip
gcc-9316258dcb09219753a9cb0864c7d493bb7d3b31.tar.gz
gcc-9316258dcb09219753a9cb0864c7d493bb7d3b31.tar.bz2
utility (begin, end): Remove per GB 85.
2010-08-05 Paolo Carlini <paolo.carlini@oracle.com> * include/tr1_impl/utility (begin, end): Remove per GB 85. * testsuite/20_util/pair/range_access.cc: Remove. * include/std/functional (function<>::function()): Remove explicit, per JP 3. From-SVN: r162900
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r--libstdc++-v3/include/std/functional1
-rw-r--r--libstdc++-v3/include/tr1_impl/utility22
2 files changed, 1 insertions, 22 deletions
diff --git a/libstdc++-v3/include/std/functional b/libstdc++-v3/include/std/functional
index 752e783..d137f47 100644
--- a/libstdc++-v3/include/std/functional
+++ b/libstdc++-v3/include/std/functional
@@ -1786,7 +1786,6 @@ namespace std
* @brief Default construct creates an empty function call wrapper.
* @post @c !(bool)*this
*/
- explicit
function() : _Function_base() { }
/**
diff --git a/libstdc++-v3/include/tr1_impl/utility b/libstdc++-v3/include/tr1_impl/utility
index c3b3527..71b8719 100644
--- a/libstdc++-v3/include/tr1_impl/utility
+++ b/libstdc++-v3/include/tr1_impl/utility
@@ -1,6 +1,6 @@
// TR1 utility -*- C++ -*-
-// Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -115,26 +115,6 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1
get(const std::pair<_Tp1, _Tp2>& __in)
{ return __pair_get<_Int>::__const_get(__in); }
-#ifdef _GLIBCXX_INCLUDE_AS_CXX0X
- /**
- * @brief Return the first of a pair containing two input iterators.
- * @param p Pair.
- */
- template<class _InputIterator>
- inline _InputIterator
- begin(const std::pair<_InputIterator, _InputIterator>& __p)
- { return __p.first; }
-
- /**
- * @brief Return the second of a pair containing two input iterators.
- * @param p Pair.
- */
- template<class _InputIterator>
- inline _InputIterator
- end(const std::pair<_InputIterator, _InputIterator>& __p)
- { return __p.second; }
-#endif
-
_GLIBCXX_END_NAMESPACE_TR1
}