[Bug c++/71487] sorry, unimplemented: mangling offset_ref

2016-06-10 Thread lemonedo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71487 --- Comment #2 from Chungmin Lee --- Command: g++ -std=c++11 a.cpp

[Bug c++/71487] sorry, unimplemented: mangling offset_ref

2016-06-10 Thread lemonedo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71487 --- Comment #1 from Chungmin Lee --- You might say that in the above scenario HasLength does not have to be a template, but it is just a simplified example.

[Bug c++/71487] New: sorry, unimplemented: mangling offset_ref

2016-06-10 Thread lemonedo at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: lemonedo at gmail dot com Target Milestone: --- The following C++ code does not compile with GCC 5.3.1. #include #include template T& declval() { return *static_cast(0); } template struct PropertyMatcher { F memfun;