Community
Participate
Working Groups
Created attachment 184925 [details] preprocessed source code The parser gives an error for the following code: #include <boost/function.hpp> void f(boost::function<void()> f) {} void g(); int main() { f(g); // ERROR HERE return 0; } The error is: Invalid arguments Candidates are: void f(boost::function<void ()>) The code is valid and compiles fine with g++ 4.x I have attached the preprocessed source code.
*** This bug has been marked as a duplicate of bug 322467 ***