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 12:32:03 -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 #4 from e28773 at bsnow dot net 2009-06-20 12:32 -------
(From update of attachment 18029)
namespace X
{
class C
{
};
template<class T>void next(T)
{
}
}
using namespace X;
#include <string>
using namespace std;
int main()
{
C c;
next(c);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497