diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-05 08:45:26 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-05 08:45:26 +0000 |
commit | 1b0878827282bb82e641a60b02eb29464b73d488 (patch) | |
tree | 186d183f8748b43b85db31d1a80fbbaa6be4943b /libstdc++-v3/testsuite/20_util/pair | |
parent | 71d98a95d7663f1a35a63ba6e52ede2fe938a9d0 (diff) | |
download | gcc-1b0878827282bb82e641a60b02eb29464b73d488.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162900 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/pair')
-rw-r--r-- | libstdc++-v3/testsuite/20_util/pair/range_access.cc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libstdc++-v3/testsuite/20_util/pair/range_access.cc b/libstdc++-v3/testsuite/20_util/pair/range_access.cc deleted file mode 100644 index 036b78cc419..00000000000 --- a/libstdc++-v3/testsuite/20_util/pair/range_access.cc +++ /dev/null @@ -1,33 +0,0 @@ -// { dg-do compile } -// { dg-options "-std=gnu++0x" } - -// Copyright (C) 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without Pred the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - -// 20.3.5.4, pair range access: [pair.range] - -#include <utility> -#include <vector> - -void -test01() -{ - std::vector<double> v{1.0, 2.0, 3.0}; - auto p = std::make_pair(v.begin(), v.end()); - std::begin(p); - std::end(p); -} |