[Bug c/46115] Feature request: anonymous functions (complementing anon aggregates)

2010-10-25 Thread robert.staudinger at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46115 --- Comment #3 from Rob Staudinger 2010-10-25 07:31:59 UTC --- For the record, this is already possible using bracketed expressions, but the syntactical sugar of not having to pick a function name would be great. #include #include int main (i

[Bug c/46115] Feature request: anonymous functions (complementing anon aggregates)

2010-10-22 Thread robert.staudinger at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46115 --- Comment #2 from Rob Staudinger 2010-10-22 08:33:46 UTC --- There obviously is some relation, but this proposal evades syntactical overloading of operators, unlike C++ lambda functions or LLVM blocks.

[Bug c/46116] Allow passing of anonymous aggregates when signature matches

2010-10-21 Thread robert.staudinger at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46116 --- Comment #2 from Rob Staudinger 2010-10-22 06:04:04 UTC --- (In reply to comment #1) > Did you see the first warning message: [...] Yes and I did not like it much either, because in my book the idea of an anonymous declaration is that it's on

[Bug c/46116] New: Allow passing of anonymous aggregates when signature matches

2010-10-21 Thread robert.staudinger at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46116 Summary: Allow passing of anonymous aggregates when signature matches Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: minor Priority: P3 Compone

[Bug c/46115] New: Feature request: anonymous functions (complementing anon aggregates)

2010-10-21 Thread robert.staudinger at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46115 Summary: Feature request: anonymous functions (complementing anon aggregates) Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3