I can crash program (core.exception.InvalidMemoryOperationError) by using __FUNCTION__ in a class ctor

Steven Schveighoffer schveiguy at gmail.com
Fri Jan 18 17:17:02 UTC 2019


On 1/18/19 12:08 PM, Adam D. Ruppe wrote:
> On Friday, 18 January 2019 at 17:03:59 UTC, Steven Schveighoffer wrote:
>> import std.internal.cstring;
> 
> The only downside here is the internal namespace has no public 
> guarantees; the phobos devs can remove or modify it as they want without 
> notice.

I'm 99.9% sure the behavior of tempCString won't be changed or removed 
in a way that breaks code.

-Steve


More information about the Digitalmars-d mailing list