Strange GCC error: expected primary-expression before ',' token?

Try return _args. Template operator() (_pObj, _fn).

Try return _args. Template operator() (_pObj, _fn);. Without the template keyword the parse would be different.

Without that extra use of template, the compiler does not know that the less-than token ( in a postfix-expression, or after nested-name-specifier in a qualified-id, and the postfix-expression or qualified-id explicitly depends on a template-parameter (14.6.2), the member template name must be prefixed by the keyword template. Otherwise the name is assumed to name a non-template. P.

S: Read this Stackoverflow FAQ Entry.

1 Thank you very much! I knew about template keyword, but I never thought about using it in method declaration... Now I get it, thanks! – Ryan Apr 27 at 10:25.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions