This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/40497] [C++0x] troubles with std::next / std::prev declarations



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]