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]

reference template parameters


Hi,

Can anybody check whether template reference parameters work with gcc-2.95?

With egcs-1.1.2 I got

test.cc:7: could not convert template argument `d' to `Base &'
test.cc:7: warning: ANSI C++ forbids declaration `yd' with no type

compiling example from C++ draft, clause 14.3.6.

(And more simple examples fail with the same error)

Regards,
Andrey.


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