Shouldn't hasSwappableElements work on char arrays?

Jesse Phillips jessekphillips+D at gmail.com
Thu Feb 24 11:29:11 PST 2011


Andrej Mitrovic Wrote:

> Now I see why using char[] fails. It's because [ElementType!(R).init];
> returns a dchar[].

Yep, Unicode for the win. dchar[] is swappable.


More information about the Digitalmars-d mailing list