On 11/11/2015 9:37 AM, Adam D. Ruppe wrote:
On Wednesday, 11 November 2015 at 17:30:07 UTC, Lionello Lunesu wrote:
as being a semantic difference, with no difference in memory layout. One can
be indexed meaningfully, the other can't.)

Eh, indexing char[] is meaningful, you just need to know what that meaning is...

In C/C++, it is common to use 'char' when one is actually looking for a small integral type. 'char' in D is meant to be a UTF-8 code unit, and has semantics distinct from that of a small integral type.

Reply via email to