|
Boost : |
From: Samuel Krempp (krempp_at_[hidden])
Date: 2001-12-19 14:03:00
On Wed, 2001-12-19 at 19:52, Peter Dimov wrote:
> Looks like this should be an option, then. Some people might have existing
> pre-translated printf-style strings lying around. ;-)
That was precisely my reasonning, and that's what I did.
format( s ) => s can contain "%1" ('short-style directives')
or "%p10.3G" ('printf-like notation', prefixed with a 'p')
pformat( s ) => parses s just like printf would.
regards,
-- Samuel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk