[cfe-dev] Specializing std::swap

Aleksandar Fabijanic aleskx at gmail.com
Wed May 22 19:14:54 PDT 2013


Hi,

It was stated in this bug report

http://llvm.org/bugs/show_bug.cgi?id=10248

that specializing swap for non-std types in std namespace, although
legal, is considered fragile. It is not entirely clear from the
response why is that so.

Can someone shed some light on this?

Thanks in advance,

Alex



More information about the cfe-dev mailing list