Rainer Schuetze <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #5 from Rainer Schuetze <> 2011-03-01 12:36:28 
PST ---
I think it is often forgotten that protection flags in D are different from C.
For example, "private" does not restrict access to the class, but to the
module, so you can inherit from the class and still have full access to the
private member functions of the base class. That means it makes sense to allow
a private function to be virtual.

I'd also say that protection attributes should not interfere with attributes
that deal with virtuality (abstract, override, final) - they are othogonal.

So I would vote for TDPL.

Note that the compiler has access to all overrides of the private functions
(they must be in the same module), so it might still inline them if never

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to