Adding properties/members to base types?

Robert Fraser fraserofthenight at gmail.com
Wed Sep 5 14:04:13 PDT 2007


Steven Schveighoffer Wrote:

> 
> "Kirk McDonald" wrote
> >
> > This currently works only for the array types. It was proposed to 
> > generalize it for all types.
> 
> Kirk,
> 
> Thanks, that is where I read it.  For some reason I couldn't find it.  I 
> hope it does get added, but only for basic types/enums, because allowing it 
> for classes/structs would confuse the hell out of me :)  Not only would you 
> have to look through class definitions/base classes, but also randomly 
> placed functions to find out what the definition of some class property is.
> 
> -Steve 
> 

Use a semantic-aware IDE.


More information about the Digitalmars-d-learn mailing list