This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/10291] error referencing a static local from a local struct in template code


------- Additional Comments From sebor at roguewave dot com  2004-04-30 01:46 -------
(In reply to comment #5)
> I almost think this is related to DR 191
<http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#191>.

I don't see it. The original test case seems to be covered by bullet 4:

    if X is a local class (9.8) or is a nested class of a local class,
    before the definition of class X in a block enclosing the definition
    of class X

What makes you think it's related?
Martin

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10291


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]