On 6/15/23 9:18 AM, Steven Schveighoffer wrote:
So interestingly enough, toStringz is pure, and returns an unrelated type, so you shouldn't need to cast. However, for some reason, it does require a cast. That seems like a bug to me.
Oh wait, a pure function can return immutable data that isn't allocated on the heap. Nevermind.
-Steve