This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
reference template parameters
- To: egcs at egcs dot cygnus dot com
- Subject: reference template parameters
- From: Andrey Slepuhin <pooh at msu dot ru>
- Date: Thu, 08 Jul 1999 12:36:31 +0400 (MEDT)
- Organization: Moscow State University Network (MSUnet)
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.