------- Additional Comments From igodard at pacbell dot net 2005-04-07 22:11 ------- Well, I now see why there's an error: the call is at global scope. So please change this report to a complaint about the diagnostic. Reduced case:
template<int> struct foo { void bar() {} }; foo<3> f; f.bar(); which gets you: ~/ootbc/members/src$ g++ foo.cc foo.cc:3: error: expected constructor, destructor, or type conversion before '.' token foo.cc:3: error: expected `,' or `;' before '.' token (which sure had me confused :-) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20816