Issue 123773 - fix ambiguity between string concatenation and C++11 user defined strings
Summary: fix ambiguity between string concatenation and C++11 user defined strings
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 3.4.0
Hardware: All All
: P3 Normal (vote)
Target Milestone: 4.1.0
Assignee: hdu@apache.org
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 122766
  Show dependency tree
 
Reported: 2013-11-29 14:34 UTC by hdu@apache.org
Modified: 2017-05-20 10:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.0.1
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description hdu@apache.org 2013-11-29 14:34:53 UTC
The "User-defined Literals" (aka. "Extensible Literals") suggested in http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2378.pdf made it into the C++11 standard.

So compilers supporting this can run into an undecidable parsing ambiguity when there is a string concatenation where the concatenation parts are not properly separated. These situations must be resolved to prevent compilation aborts.
Comment 1 SVN Robot 2013-11-29 14:39:04 UTC
"hdu" committed SVN revision 1546572 into trunk:
#i123773# fix ambiguity between string concatenation and C++ user-defined lit...
Comment 2 hdu@apache.org 2013-11-29 14:40:26 UTC
Fixed with the commit above.