it must be struct Foo {void resetFoo(const std::map<int,char>& foo = (std::map<int,char> ())){ } }; to disambiguate the syntax
Hello, Thanks, you are right, it works.In the meantime, I finally found out that it was a kind of old known "bug" (bug #57 in gcc bugzilla).
Regards, Pierre Chatelier