Pointer semantics in CTFE

deadalnix deadalnix at gmail.com
Sat May 26 11:37:06 PDT 2012


Le 25/05/2012 17:38, Steven Schveighoffer a écrit :
> On Fri, 25 May 2012 11:08:52 -0400, David Nadlinger <see at klickverbot.at>
> wrote:
>
>> On Friday, 25 May 2012 at 14:06:55 UTC, Steven Schveighoffer wrote:
>>> Remove the restriction. The code is unpredictable, but not invalid.
>>> It just means you need to take more care when writing such code.
>>
>> The question is whether we want to allow unpredictable behavior at
>> compile time.
>
> Given the alternative, yes I think we do.
>
> -Steve

What ? We absolutely don't whant that, and teh alternative is pretty 
simple : using slices.


More information about the Digitalmars-d mailing list