This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7181: foo<n>::bar = foo<n-1>::bar + foo<n-2>::bar evaluatesto zero at compile time
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, dobrynin at bigfoot dot com, gcc-bugs at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>, Nathan Sidwell<nathan at codesourcery dot com>
- Date: Tue, 02 Jul 2002 22:28:13 +0200
- Subject: Re: c++/7181: foo<n>::bar = foo<n-1>::bar + foo<n-2>::bar evaluatesto zero at compile time
Hi,
from a very practical point of view, would be difficult to restore the
behaviour of 2.95.x? Note that Intel and Comeau adopts that "particular"
initialization order and the current "equivalent" one ;-) breaks a whole
body of literature on template metaprogramming...
Ciao, Paolo.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7181