29 Oct
2006
29 Oct
'06
10:44 p.m.
On Behalf Of ShenLei You are right. There is a much better implementation, Loki::Printf in SafeFormat.h. It works like this: // ...
Also, Loki gives us a complete printf-like functions, SPrintf, FPrintf... It really convenient.
Yes, they are convenient, but Loki::Printf and crew have a serious shortcoming -- lack of support for wide characters. As with std::exception, this greatly reduces their utility. This is the main reason why I prefer boost::format. Regards, Ryan Ginstrom