https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36159
--- Comment #17 from Marios Hadjieleftheriou <mhadji at gmail dot com> --- (In reply to Martin Sebor from comment #12) > Confirmed. As noted in bug 67911, the solution proposed for the next > version of C++ is the following: > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0035r0.html > Until it's accepted and implemented, issuing a warning would help users > avoid the trap. I happen to be working in this area so I'll see if I can > come up with something. The link posted above appears to be broken.