This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/45488] lower_bound doesn't really require the iterator parameters to be default constructible
- 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: 1 Sep 2010 22:58:19 -0000
- Subject: [Bug libstdc++/45488] lower_bound doesn't really require the iterator parameters to be default constructible
- References: <bug-45488-19136@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from paolo at gcc dot gnu dot org 2010-09-01 22:58 -------
Subject: Bug 45488
Author: paolo
Date: Wed Sep 1 22:58:05 2010
New Revision: 163746
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163746
Log:
2010-09-01 Christopher Yeleighton <giecrilj@stegny.2a.pl>
Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/45488
* include/bits/stl_algobase.h (lower_bound): Clean-up a tad, move
two variables inside the main loop.
* include/bits/stl_algo.h (lower_bound, upper_bound, equal_range):
Likewise.
Modified:
trunk/libstdc++-v3/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45488