HNHacker News
TopNewBestAskShowJobs

yyyymmdd

8 karma · joined May 7, 2014

submissionscomments
yyyymmdd··on Show HN: C++11 inline object definitions
that's not syntax not supporting nesting, that's gcc having bugs with nested captures. clang++ does not error on this. (strange, but this does not compile with gcc and clang versions I have currently at hand. It did compile a few weeks ago when I tried it...)
yyyymmdd··on Show HN: C++11 inline object definitions
actually: auto obj = [ x=1, y="foo" ]{};