[Bug c++/42034] "'type name' declared as function returning a function" with operator()

2009-11-13 Thread sc09q4 at bullseye dot com
--- Comment #2 from sc09q4 at bullseye dot com 2009-11-13 21:04 --- Let's look at these tokens "T()(int())" in detail. (1) Yes "T()" looks like a function declarator: T()(int()) 111 (2) Then follows something in parenthesis, which looks a lot like C++

[Bug c++/42034] New: "'type name' declared as function returning a function" with operator()

2009-11-13 Thread sc09q4 at bullseye dot com
Product: gcc Version: 4.4.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sc09q4 at bullseye dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42034