Parser error with template class

Raimar Sandner raimar.sandner at uibk.ac.at
Sun Jul 22 18:27:30 BST 2012


On Sunday 22 July 2012 19:18:08 Raimar Sandner wrote:

Sorry, there is a typo in the typedef statement:

> 
> template<class A>
> struct SomeOtherTemplateClass
> {
>   typedef SomeClass<A> SomeTemplateAlias;
>   // version 1:
>   using SomeTemplateAlias::f;
>   // version 2:
>   // using SomeTemplateClass<A>::f;
> };
> 

Of course it has to be typedef SomeTemplateClass<A> SomeTemplateAlias;

Still everything else is as I have described it in the last mail.

Regards.




More information about the KDevelop mailing list