Boost logo

Boost :

From: Fernando Cacciola (fcacciola_at_[hidden])
Date: 2002-01-23 16:51:43


----- Original Message -----
From: bill_kempf <williamkempf_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, January 23, 2002 6:32 PM
Subject: [boost] Re: environment variable access

>
> size(), max_size(), possibly empty() are the only ones I see that
> won't play nice unless you load the full environment. I suppose the
> reverse iteration methods like rbegin() would also not work here. I'd
> also have to question the need for count(), lower_bound(), upper_bound
> (), equal_range(), swap() and all other copy methods, though they
> could be retained. Removal of these would leave you with a very nice
> interface for environment variable access.
>
> Bill Kempf
>
OK. So the framework could support (at least forward) iterators; then
support find() and end(),
which are required to solve the 'does this variable exist' nicely.

I think that for the command-line option as a source example, iteration is
very useful.

Agreed then.

Fernando Cacciola
Sierra s.r.l.
fcacciola_at_[hidden]
www.gosierra.com


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