On Tue, Jun 24, 2008 at 4:06 PM, Andrew McPherson
<[EMAIL PROTECTED]> wrote:
> template
> class Test2
> {
> public:
>
>void Initialize()
>{
You missed the template keyword here:
>mTest.TestMe();
That should be:
mTest. template TestMe();
>}
>
>
The following code causes this gcc error:
test.c: In member function `void Test2::Initialize()':
test.c:22: error: expected primary-expression before '>' token
test.c:22: error: expected primary-expression before ')' token
template
class Test1
{
public:
template
void TestMe()
{