Boost logo

Boost Users :

From: Miro Jurisic (macdev_at_[hidden])
Date: 2004-10-21 03:47:01


In article <OFED98622A.E7230120-ONCA256F34.002B3C63_at_[hidden]>,
 "Barak Simon" <barak.simon_at_[hidden]> wrote:

> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net