How to use sprintf
Vladimir Panteleev
vladimir at thecybershadow.net
Mon Apr 25 09:40:28 PDT 2011
On Mon, 25 Apr 2011 18:42:32 +0300, Steven Schveighoffer
<schveiguy at yahoo.com> wrote:
> Regardless of all this, cast(char *)buffer is *not* recommended D code,
> and will likely fail in some future 2.x version of the compiler.
I'm pretty sure I learned of this trick from reading some Phobos code.
Perhaps this behavior was implemented before the .ptr property for dynamic
arrays?
--
Best regards,
Vladimir mailto:vladimir at thecybershadow.net
More information about the Digitalmars-d
mailing list