gcc template error?

Shelly Adhikari shelly@interrasystems.com
Wed Jun 22 19:41:00 GMT 2005


Jason Mancini wrote:

> I suspect this line is the source of your problems:
>   friend T<class Y>* func<Y, X>(T<X>* p);
> Y isn't a template parameter here, but a (concrete?) class named "Y".
> The below compiles with 3.4.3 anyways...
> Regards,
> -Jason

Yep, that line is the source of my problems.
Can you send me a pointer to the C++ standard which says what you are 
saying?
Two template parameters are not acceptable in my situation. I would have 
to find another solution.

Best Regards,
Shelly



More information about the Gcc mailing list