This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Fix libstdc++/6503
- From: "B. Kosnik" <bkoz at nabi dot net>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org, bkoz at redhat dot com
- Date: Sat, 18 May 2002 07:56:04 -0700
- Subject: Re: [PATCH] Fix libstdc++/6503
- Organization: secret_agent_headquarters
- References: <3CE6446C.5030307@unitus.it>
- Reply-to: bkoz at nabi dot net
> I have fixed this PR according to Scott Meyers' guideline about
> comparison operators as non-member functions (Effective STL, 119): now
Great!
> Ok for trunk and branch?
I think so: this just adds the operators, but they are not instantiated
in the libstdc++.so binary, are they? Thanks for the new test file!
-benjamin
> 2002-05-18 Paolo Carlini <pcarlini@unitus.it>
>
> PR libstdc++/6503
> * include/bits/stl_deque.h (_Deque_iterator::operator==,
> operator!=, operator<, operator>, operator>=, operator<=):
> Make non-member functions, to allow comparing const and
> non-const iterators in any order.
> * testsuite/23_containers/deque_operators.cc: New testfile.