21 Oct
2004
21 Oct
'04
8:47 a.m.
In article
I have noticed that the format library does not support at present the printf asterisk for providing dynamic width as an extra parameter. Unfortunately my users need to use this widely and I would really hate to revert back to a non-typesafe solution.
A typesafe solution is to use format ("%1%") % string(buf, len) if I understand the question correctly. hth meeroh