search for: 1477a542

Displaying 2 results from an estimated 2 matches for "1477a542".

Did you mean: 147.542
2013 Sep 24
0
[LLVMdev] initialization list with conversion operator dont work properly and report error
...> ^ > 1 error generated. > > See C++11 [over.best.ics]p4. We could probably improve the diagnostic here, though; please file a bug. -Eli -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130924/1477a542/attachment.html>
2013 Sep 24
2
[LLVMdev] initialization list with conversion operator dont work properly and report error
for the following code: struct X { X(); }; struct Y { operator X() const; }; X a = { Y() }; // reports error: no matching constructor for initialization of 'X' X aa = Y(); // works fine clang when compiled with std=c++11 gives compilation errors as: testfile.C:11:3: error: no matching constructor for initialization of 'X' X a = { Y() }; // reports error: no