[Bug c++/52014] [c++0x] g++: Segfault When `decltype` Used in Nested Lambda Function Defined in Class Member Function

cheesear at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 27 09:02:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52014

--- Comment #1 from cheesear at gmail dot com 2012-01-27 07:05:26 UTC ---
Sorry, accidentally hit return before I was ready. The code sample fails to
compile because of the use of decltype in the parameter-list of the nested
lambda function defined in bar.test(). Using a typedef in advance will
circumvent this issue.



More information about the Gcc-bugs mailing list