Challenge: write a really really small front() for UTF8
Ali Çehreli
acehreli at yahoo.com
Sun Mar 23 22:03:57 PDT 2014
On 03/23/2014 09:44 PM, Michel Fortin wrote:
> On 2014-03-24 04:39:08 +0000, "bearophile" <bearophileHUGS at lycos.com> said:
>
>> Michel Fortin:
>>
>>> I really wish D had no implicit fallthrough.
>>
>> Isn't your wish already granted?
>
> Maybe. I don't have a D compiler installed at the moment to check. I'm
> just playing with d.godbolt.org and it accepts implicit fallthrough.
>
That compiler is very old. :)
import std.compiler;
pragma(msg, version_major);
pragma(msg, version_minor);
The output:
2u
55u
Ali
More information about the Digitalmars-d
mailing list