This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: template func + typname param: g++ says illegal, is it?
- To: ymedini at iil dot intel dot com
- Subject: Re: template func + typname param: g++ says illegal, is it?
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Tue, 11 Jul 2000 09:39:47 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- References: <200007110711.KAA00880@iwsl010.iil.intel.com>
> Is g++ right saying the following is illegal C++ code?
Thanks for your bug report. Please understand that gcc-bugs is for
posting bug reports, not for asking questions about C++; use
comp.lang.c++.moderated or comp.std.c++ for such questions. As to your
question: yes, g++ is right. A scoped name is a non-deduced context.
Regards,
Martin