On Monday, 1 October 2012 at 12:12:52 UTC, deadalnix wrote:
Le 01/10/2012 13:29, Vladimir Panteleev a écrit :On Monday, 1 October 2012 at 10:56:36 UTC, deadalnix wrote:How does to!string know that the string is 0 terminated ?By convention (it doesn't).It is unsafe as hell oO
Forcing the programmer to put strlen calls everywhere in his code is not any safer.