[Bug c++/82311] prototype don't match

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 23 21:49:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82311

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The noexcept condition is evaluated too early, before the class is complete, so
the third overload of fast is not considered. The out-of-class definition sees
all three overloads, so gets a different result.

This is a duplicate of Bug 66256.

*** This bug has been marked as a duplicate of bug 66256 ***


More information about the Gcc-bugs mailing list