Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.4.1
-
None
-
Ubuntu 15.04 64-bit
GCC 4.9.1
c++11
Description
I using Ubuntu 15.04 with Qt 5.4.1 (from repo) and GCC 4.9.1.
When I running the following example code, then I get a segfault:
#include <QStringBuilder> ... QTextStream(stdout) << [] { QString a('a'), b('b'); return a % b; }() << '\n';
But if I replace the '%' with '+', the problem is gone.
Is this a bug or something else?
Attachments
Issue Links
- relates to
-
QTBUG-117699 QStringBuilder: one more problem with 'auto'
- Reported
-
QTBUG-99291 As a user of QStringBuilder, I would like the system to pin down rvalues, like QStringTokenizer does
- Closed