[Issue 5420] Cannot override function error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 6 21:18:08 PST 2011


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


Christopher Nicholson-Sauls <ibisbasenji at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibisbasenji at gmail.com


--- Comment #8 from Christopher Nicholson-Sauls <ibisbasenji at gmail.com> 2011-01-06 21:15:51 PST ---
Like Jon said, this is consistent with how other decorations on classes are
treated: they propagate to members.  Declare a class as const, immutable, or
even shared (!?), and all members are treated likewise.  If nothing else, you
can always get in the habit of adding 'public:' at the beginning of such
classes.  (Plenty of people do that already, out of C++ habit.)  I'm definitely
not saying it isn't going to be annoying, but I think it fits the language (as
is).

-- 
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