This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45033] "delete" does overload resolution for class operands, but shouldn't.
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Aug 2017 13:03:50 +0000
- Subject: [Bug c++/45033] "delete" does overload resolution for class operands, but shouldn't.
- Auto-submitted: auto-generated
- References: <bug-45033-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45033
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Clang only rejects it in C++98 or C++11 mode, it accepts it for C++14.
EDG accepts it unconditionally.