|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-07-01 09:53:02
Since people seem to feel allegiance to the printf conventions, I am willing
to sacrifice terseness and live with %1%, %2%, etc if there is no better
alternative. I don't like it, but would live with it.
-Dave
----- Original Message -----
From: "Beman Dawes" <bdawes_at_[hidden]>
To: <boost_at_[hidden]>; <boost_at_[hidden]>
Sent: Sunday, July 01, 2001 10:08 AM
Subject: Re: [boost] Review : format2, yet another 'printf class'
> At 10:08 PM 6/30/2001, Greg Chicares wrote:
>
> >Aleksey Gurtovoy wrote:
> >>
> >> My main problem with '%' is that it's not an idiomatic C++, at
> >> least not yet :). Also, using of '$' in format specification,
> >> but '%' when providing arguments seems inconsistent.
> >
> >Is it a (different) problem that dollar-sign is not part
> >of the language's basic source character set (2.2/1) ?
> >If that character is unavailable on, say, an Icelandic
> >keyboard, then there's no trigraph for it either.
>
> Ouch! Good catch, Greg.
>
> > Would
> >a library that needs dollar-sign be acceptable in ISO C++?
>
> I doubt it.
>
> IMO, we need to stick to the basic character set.
>
> --Beman
>
> [lex.charset] 2.2 Character sets
>
> 1 The basic source character set consists of 96 characters: the space
> character, the control characters representing horizontal tab, vertical
> tab, form feed, and new-line, plus the following 91 graphical characters:
>
> a b c d e f g h i j k l m n o p q r s t u v w x y z
> A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
> 0 1 2 3 4 5 6 7 8 9
> _ { } [ ] # ( ) < > % : ; . ? * + - / ^ & | ~ ! = , \ " '
>
>
> Info: http://www.boost.org Unsubscribe:
<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