A
Ana Farcas via .NET 247
hello, i have an old library i need to port to .net. the old library is written in visual c++ 6.0 and uses templated classes.
if i compile the library (after having gone through the conversion wizard), i get errors with the definitions of the templated classes. below are some examples.
template<class base, class client>
templated_class_name<base,client>:ointer_to_templated_class_member* templated_class_name<base,client><base,client>::templated_class_member(arguments) {
...
code here
... }
for this function i receive the error
error C2143: syntax error : missing ';' before '*'
i did some reading on the templated classes in managed c maybe the synatx changed, but i can't find the problem. maybe you have run into this problem also, and you could advise.
thanks,
Ana Farcas
if i compile the library (after having gone through the conversion wizard), i get errors with the definitions of the templated classes. below are some examples.
template<class base, class client>
templated_class_name<base,client>:ointer_to_templated_class_member* templated_class_name<base,client><base,client>::templated_class_member(arguments) {
...
code here
... }
for this function i receive the error
error C2143: syntax error : missing ';' before '*'
i did some reading on the templated classes in managed c maybe the synatx changed, but i can't find the problem. maybe you have run into this problem also, and you could advise.
thanks,
Ana Farcas