> Im making my application development in C.
> I wrote a function ...
> Heres wht i wrote...
> template <class T> static Boolean LstAddElement(T, MemHandle* firstMemP,
> MemHandle* elementMemP);
>
> But if i try to compile....it gives me an error like this
> declaration syntax error
> List.h line 29 template<class T>...........
Function templates are exclusive to C++. You can't use templates in C.
(If you misspoke and are in fact using C++, then try removing the "static"
qualifier.)
Eric W. Sirko
Softworks Solutions, LLC
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/