This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/45488] lower_bound iterator must be default constructible
- From: "giecrilj at stegny dot 2a dot pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Sep 2010 22:39:29 -0000
- Subject: [Bug libstdc++/45488] lower_bound iterator must be default constructible
- References: <bug-45488-19136@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from giecrilj at stegny dot 2a dot pl 2010-09-01 22:39 -------
BTW, why is this implementation so repetitive?
What would be wrong with saying
lower_bound (a_, b_, c_) := lower_bound (a, b, c, less ())?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45488