On Tuesday, 9 February 2016 at 16:58:03 UTC, Daniel Kozak wrote:
Or use `to` like this:import std.conv; writefln("%s", pString.to!(string));this will allocate new string which can be performance problem.
Which is good in most cases. It's better to have the GC take care of the D string instead of worrying about the lifetime of pString.
