The more interesting question

Steven Schveighoffer schveiguy at yahoo.com
Wed May 16 13:42:17 PDT 2012


On Wed, 16 May 2012 16:19:36 -0400, Alex Rønne Petersen <alex at lycus.org>  
wrote:

> Theoretically, yes, practically, not really.
>
> void myLog(string msg)
> {
>      printf(msg);
> }

Wait, this should be an error.  You need toStringz there.

-Steve


More information about the Digitalmars-d mailing list