c++/3496: template parm shadow reporting when it is not

gdr@gcc.gnu.org gdr@gcc.gnu.org
Sun Aug 12 03:38:00 GMT 2001


Synopsis: template parm shadow reporting when it is not

Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Sun Aug 12 03:38:47 2001
Responsible-Changed-Why:
    See below.
State-Changed-From-To: open->closed
State-Changed-By: gdr
State-Changed-When: Sun Aug 12 03:38:47 2001
State-Changed-Why:
    This is not a compiler bug.  Your program is ill-formed and 
    VC++ is at error.  See 14.6.1/4:
       A template-parameter shall not be redeclared within its scope (including nested scopes).
    
    -- Gaby

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3496&database=gcc



More information about the Gcc-prs mailing list