This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc template error?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]