base class function hiding

bc mi_emayl_adrez at hotmail.com
Thu Oct 11 19:37:39 PDT 2007


On Thu, 11 Oct 2007 18:51:25 +0100, Regan Heath <regan at netmail.co.nz>  
wrote:

> bc wrote:
>> It's so annoying. I'm always running into difficulties with this. The  
>> times a function has been hidden when I didn't want it hidden outnumber  
>> the reverse case 20 to 1 or more. Especially with templates and mixins.  
>> I'm sure someone will say it it's better this way but I don't buy it. I  
>> really would prefer functions to never be hidden unless specifically  
>> requested. What can be done about this?
>
> The problem is larger than personal preference, have a search through  
> these groups and the archives on digitalmars.com/d.
>
>
Thanks for the pointer. Sorry if I was rude BTW. I'd been messing around
trying to make a rectangular array class in C++, that must have an
opIndex with variable number of arguments up to the number of dimensions,
got p***ed off with that, thought 'i bet this is easier in D' and found
that it wasn't.


More information about the Digitalmars-d-learn mailing list