Why is string.front dchar?

Tobias Pankrath tobias at pankrath.net
Mon Jan 20 11:18:06 PST 2014


On Monday, 20 January 2014 at 16:53:32 UTC, Jakob Ovrum wrote:
> On Monday, 20 January 2014 at 13:30:11 UTC, Tobias Pankrath 
> wrote:
>> (w|d)string.length returning anything else then the number of 
>> underlying code points would be inconsistent to other array 
>> types and making (d|w)string arrays of code points was a 
>> (arguably good) design decision.
>
> Code units, not code points.
>
Arg! Of course.


More information about the Digitalmars-d-learn mailing list