property syntax strawman
Frank Benoit
keinfarbton at googlemail.com
Sun Aug 2 09:14:10 PDT 2009
KennyTM~ schrieb:
> Frank Benoit wrote:
>> Or how about making it a single method?
>>
>> bool empty=(bool* value){
>> if( value ) _empty = *value;
>> return _empty;
>> }
>>
>> The compiler rewrites the calling code to either pass the address or
>> null.
>
> So properties can't be used in SafeD?
Hm, right pointers are not allowed there. So the "in" operator for AAs
is also disallowed? That surprises me.
More information about the Digitalmars-d
mailing list