This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]