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 c++/57986] call to local "bind" template function called std::bind without "using" any namespace.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57986

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
        thread(const thread &X) {
            swap(const_cast<struct thread &>(X));
        }

This is insane, don't do that.


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