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] | |
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
Best Regards, Shelly
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |