printf bug ??!

Jarrett Billingsley kb3ctd2 at yahoo.com
Fri Mar 17 16:07:02 PST 2006


"lanael" <lanael_member at pathlink.com> wrote in message 
news:dvdssk$jed$1 at digitaldaemon.com...
> Ok! ok! ok! : I'll add this to my mantra list ! ;)

Hehe :)

> Anyway, I was thinking that writef() was a just a "bridge" to printf, but 
> I now
> see that I was totally wrong. writefx() looks like a complete rewrite of 
> printf
> type functions in pure D...

Absolutely.  printf is a C function, and as such, has no concept of type 
safety.  The std.format based functions (like the writef family) are written 
in D, and use D's variable argument system, making them much more type-safe 
as well as being D-aware. 





More information about the Digitalmars-d-bugs mailing list