Boost logo

Boost :

From: John Torjo (john_at_[hidden])
Date: 2003-04-24 09:16:39


>
>
> | -----Original Message-----
> | From: boost-bounces_at_[hidden]
> | [mailto:boost-bounces_at_[hidden]]On Behalf Of Reece Dunn
> | Sent: Thursday, April 17, 2003 2:53 PM
> | To: boost_at_[hidden]
> | Subject: Re: [boost] Adding a generic list manipulator
> |
> |
> | [documentation]:
> |
> Shows much promise, but
>
> 1 code examples are conventionally (and helpfully) in monospaced. My
favourite
> is Lucida Console. Doesn't boost.css provide this?
>
> 2 Your potential users are busy, and not all expert, so over-commenting
is
> better than under. For example, how about?
>
> std::vector< int > v( 4); // Construct a vector of known size 4.
> std::generate( v.begin(), v.end(), std::rand ); // Fill all container with
> randoms.
> std::cout << boost::io::formatlist( v ); // Output all container.
> // Outputs: {101, 4, 33, 9}

I did not catch the beginning of this discussion.
Is this somewhat similar to:

http://builder.com.com/article_guest.jhtml?id=u00220020805gcn01.htm&page=1
http://builder.com.com/article_guest.jhtml?id=u00220020923gcn01.htm&page=1

(I know, the code is kind of complicated; anyway Kevlin Henney prompted me
with a way to MUCH improve the code, and new stuff has come to my mind ;-) )

Best,
John


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