CTFE Status
pineapple via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jan 29 04:45:24 PST 2017
On Sunday, 29 January 2017 at 02:52:51 UTC, Stefan Koch wrote:
> Yes exactly that. many times in phobos foreach(dchar ch;
> some_string)
> which requires me to encode the utf8 string temporarily into
> utf32
> and then when it is appending to some other string I need to
> reencode it into utf8.
Oooh, I never realized foreach acted specially like that. I can't
decide whether I approve or disapprove.
You'll also have to support UTF-16 for the case `foreach(wchar
ch; some_string){}`.
As before just let me know if I can help.
More information about the Digitalmars-d
mailing list