better string
Mike B Johnson via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jun 7 18:10:02 PDT 2017
On Thursday, 8 June 2017 at 00:59:06 UTC, Stanislav Blinov wrote:
> On Wednesday, 7 June 2017 at 23:57:44 UTC, Mike B Johnson wrote:
>
>> Or will simply setting "alias string = wstring;" at the top of
>> my program end up having the entire program, regardless of
>> what it is, use wstring's instead of strings?
>
> It doesn't work that way and it can't work that way: you'd
> never be able to link against anything if it did.
>
Not true, way to overgeneralize!
>> The reason I say this is because I converted my program to use
>> wstrings...
>
> Why? Why trade one variable-width encoding for another,
> especially a nasty one like UTF-16?
um, because I'm god and I get to wear the big boy pants.
More information about the Digitalmars-d
mailing list