Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-12-19 13:53:11


It depends who you are. All I wanted was %1 %2 %3 in the format string; I
don't remember printf syntax as though I can write it in my sleep, and don't
want to be burdened with the extra characters.

Oh, BTW, I was the original issuer of the challenge corresponding to this
submission ;-)

----- Original Message -----
From: "Karl Nelson" <kenelson_at_[hidden]>
To: <boost_at_[hidden]>
Cc: <kenelson_at_[hidden]>
Sent: Wednesday, December 19, 2001 1:21 PM
Subject: Re: [boost] Review request : format

> > library format provides a class which parses a printf-like format
> > strings, and then formats one or several variables using streams,
> > whose flags and parameters are set according to the format-string
> > directives.
> >
> > In brief, it brings printf's syntax to streams.
>
> But it doesnt' it is not complient with printf specification
> because it adds a "p" after the %, to shorten the sequence
> "%1$s" to "%1". This really seems unnecessary and makes
> it more difficult for translators using format strings.
> Strict printf compatiblity where possible would be a better
> design choice.
>
> --Karl
>
> Info: http://www.boost.org Send unsubscribe requests to:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk