arrays: if(null == [ ])

Alex Rønne Petersen xtzgzorex at gmail.com
Tue May 15 07:05:21 PDT 2012


On 15-05-2012 15:35, Gor Gyolchanyan wrote:
> Even if it's wrong to move writef to druntime, the toUTFz is still a
> very small word to write.
>
> On Tue, May 15, 2012 at 5:29 PM, Alex Rønne Petersen
> <xtzgzorex at gmail.com <mailto:xtzgzorex at gmail.com>> wrote:
>
>     On 15-05-2012 15:22, Gor Gyolchanyan wrote:
>
>         On Tue, May 15, 2012 at 4:00 PM, Alex Rønne Petersen
>         <xtzgzorex at gmail.com <mailto:xtzgzorex at gmail.com>
>         <mailto:xtzgzorex at gmail.com <mailto:xtzgzorex at gmail.com>>> wrote:
>
>
>             Yes, because using a Phobos function in druntime is perfectly
>             possible! Totally!
>               --
>             - Alex
>
>
>         Isn't it obvious what needs to be done? Come on, it's no too
>         hard to see...
>
>
>         --
>         Bye,
>         Gor Gyolchanyan.
>
>
>     No, it should not be moved to druntime. druntime is the low-level
>     abstraction layer over the compiler, nothing else.
>
>     Further, all the write* functions perform GC allocation, which is
>     unacceptable in druntime.
>
>     --
>     - Alex
>
>
>
>
> --
> Bye,
> Gor Gyolchanyan.

It's a Phobos function.

-- 
- Alex


More information about the Digitalmars-d mailing list