[Issue 3934] Some untidy attributes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jul 24 07:42:17 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=3934


klickverbot <code at klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at klickverbot.at


--- Comment #22 from klickverbot <code at klickverbot.at> 2011-07-24 07:42:16 PDT ---
(In reply to comment #21)
> (In reply to comment #20)
> > class Foo {}
> > class Bar : public Foo {}
> > void main() {}
> 
> There are no attributes as such in your example.  And I don't see anything that
> isn't meaningful.  So what do you mean?

I think bearophile is referring to the »public« protection attribute in the
SuperClass. This is explicitly allowed by the grammar, but I don't know off
hand if it actually has any effect in the current implementation, other than
giving C++ programmers a wrong sense of coziness maybe. ;)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list