This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/40497] invalid std::next / std::prev declaration
- From: "e28773 at bsnow dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2009 23:21:29 -0000
- Subject: [Bug libstdc++/40497] invalid std::next / std::prev declaration
- References: <bug-40497-17859@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from e28773 at bsnow dot net 2009-06-20 23:21 -------
(In reply to comment #10)
> Fixed for 4.4.1.
>
After all, this is still a bug of ADL/SFINAE? Even if the declaration of
next/prev does not match with the one proposed in the current draft, the right
function (that is in the namespace of the argument) should still be chosen?!
--
e28773 at bsnow dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497