On Tuesday, 22 December 2020 at 21:26:37 UTC, Godnyx wrote:
On Tuesday, 22 December 2020 at 21:10:59 UTC, Godnyx wrote:Is there a way? If not then how std.stdio does it?I should mention that I want to use it in a variable that can't be read at compile time so .toStringz is not working for me.
toStringz works just fine on variables that can't be read at compile time. You must be doing something else to trigger that error.