This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/40497] [C++0x] troubles with std::next / std::prev declarations
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2010 17:45:28 -0000
- Subject: [Bug libstdc++/40497] [C++0x] troubles with std::next / std::prev declarations
- References: <bug-40497-17859@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #37 from paolo at gcc dot gnu dot org 2010-05-27 17:45 -------
Subject: Bug 40497
Author: paolo
Date: Thu May 27 17:44:59 2010
New Revision: 159934
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159934
Log:
2010-05-27 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/40497
* include/bits/cpp_type_traits.h (__is_iterator): Add.
* include/bits/stl_iterator_base_funcs.h (next, prev): Use it.
* testsuite/24_iterators/operations/40497.cc: New.
Added:
branches/gcc-4_5-branch/libstdc++-v3/testsuite/24_iterators/operations/40497.cc
Modified:
branches/gcc-4_5-branch/libstdc++-v3/ChangeLog
branches/gcc-4_5-branch/libstdc++-v3/include/bits/cpp_type_traits.h
branches/gcc-4_5-branch/libstdc++-v3/include/bits/stl_iterator_base_funcs.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497