Casting char[] ranges to string can lead to unexpected behavior

Domingo via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 30 19:03:58 PDT 2014


I spent two days to find a nasty aleatory problem due to a string 
been assigned a range from a char[] array.

This issue on vibe.d detail it a bit more: 
https://github.com/rejectedsoftware/vibe.d/issues/889

I'm putting it here to call attention for other developers for 
this problem.

Cheers !


More information about the Digitalmars-d-learn mailing list