This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8806: gcc accepts bad argument for template template parameter
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: gcc-bugs at gcc dot gnu dot org, <gcc-gnats at gcc dot gnu dot org>, Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>, <catherin at ca dot ibm dot com>
- Date: Wed, 4 Dec 2002 08:36:05 -0600 (CST)
- Subject: Re: c++/8806: gcc accepts bad argument for template template parameter
This is actually kind of a funny problem (an oversight in the standard?),
and the only way I can think of to make this go the intended way would be
to write
foo< ::bar>
or maybe
foo<template bar>
The first is accepted by newer compilers, the latter is
not.
Regards
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth