opStar

Walter Bright newshound1 at digitalmars.com
Sun Nov 11 18:19:17 PST 2007


Janice Caron wrote:
> On 11/11/07, Walter Bright <newshound1 at digitalmars.com> wrote:
>> Because raw pointers don't have a .value property
> 
> It's your language, so you could give raw pointers whatever properties
> you wanted. They already have .sizeof and .init and .mangleof. If you
> wanted to, you could give pointers a .value property. Just saying
> "they don't have that property" is a silly argument for someone with
> your godlike powers over the language.

Adding new properties is a pretty disruptive thing to do, especially 
common names.



More information about the Digitalmars-d mailing list