This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52683] assignment operator not detected
- 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, 23 Mar 2012 12:43:15 +0000
- Subject: [Bug c++/52683] assignment operator not detected
- Auto-submitted: auto-generated
- References: <bug-52683-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52683
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-03-23 12:43:15 UTC ---
(In reply to comment #0)
> Assignment operator not detected via declval<>() for POD types.
W::operator= is an overloaded function, operator=(const W&) and operator=(W&&)
decltype cannot work, because an overload set is not a type