This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/40497] invalid std::next / std::prev declaration



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]