@safe status

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Feb 8 14:20:21 PST 2010


Michel Fortin wrote:
> On 2010-02-08 16:21:31 -0500, bearophile <bearophileHUGS at lycos.com> said:
> 
>> Michel Fortin:
>>> But unsafe functions can give whatever pointer they want to a safe 
>>> function,<
>>
>> Can pointers be used in safe modules/functions?
> 
> Yes. And object references too. And arrays. All those are pointers of 
> some sort. You wouldn't go very far without them.

Pointers undergo significantly less control than arrays and object 
references.

Andrei



More information about the Digitalmars-d mailing list