This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61648] g++ accepts literal operator friends for non-template classes but not for *template* classes
- From: "3dw4rd at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jun 2014 21:12:06 +0000
- Subject: [Bug c++/61648] g++ accepts literal operator friends for non-template classes but not for *template* classes
- Auto-submitted: auto-generated
- References: <bug-61648-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61648
--- Comment #3 from Ed Smith-Rowland <3dw4rd at verizon dot net> ---
Put this and it works.
if (PROCESSING_REAL_TEMPLATE_DECL_P() || processing_specialization)
{