This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61057] New: [C++11] operator . considered part of User Defined Literal invocation.
- From: "isupeene at ualberta dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 04 May 2014 18:18:27 +0000
- Subject: [Bug c++/61057] New: [C++11] operator . considered part of User Defined Literal invocation.
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61057
Bug ID: 61057
Summary: [C++11] operator . considered part of User Defined
Literal invocation.
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: isupeene at ualberta dot ca
Created attachment 32730
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32730&action=edit
Contains udl_bug.cpp and udl_bug_workaround.cpp
When compiling with 'g++ -std=c++11 <filename>':
The attached file udl_bug.cpp reproduces the bug, producing the error: "error:
unable to find numeric literal operator âoperator"" _i.m_valueâ".
The attached file udl_bug_workaround.cpp compiles successfully and produces the
expected output.