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.