wstring always 2-byte aligned?

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Jun 2 14:25:51 PDT 2011


Maybe they mean UCS-2? I know that for example Charles Petzold's
Programming Windows book assumes that UTF16 characters are *always* 2
bytes wide. So maybe that has something to do with that alignment
requirement.


More information about the Digitalmars-d-learn mailing list