------- Comment #1 from ppluzhnikov at charter dot net 2006-12-04 22:46 ------- It turns out that I've already seen this bug in MSVC-6.0, and found a workaround.
This parses fine (note extra parenthesis) with gcc-3.4.0 and above: struct Foo { void foo23(const vector< char, allocator< char> > & = (vector< char, allocator< char> > ())); }; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30069