|
Boost : |
From: Fernando Cacciola (fcacciola_at_[hidden])
Date: 2001-07-25 14:18:33
----- Original Message -----
From: Jeremy Siek <jsiek_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, July 25, 2001 4:06 PM
Subject: RE: Boost algorithm library (Was: [boost] New upload: algorithm.zip
1)
> On Wed, 25 Jul 2001, Fernando Cacciola wrote:
> >
> > There is the case, though, of algorithms that need to perform operations
> > that are not supported by the iterators, such as erase.
> > Is this what you need?
> > In that case you have to consider that different containers have
different
> > semantics, and a consistent trait-based categorization of containers is
not
> > currently available.You will need that in order to make sure that the
> > container feed to the algorithms meets the 'container category'
> > requirements, and to adapt the algorithm implementation to the container
> > used.
> >
>
> I've already done a little work on a traits class for containers, see
> boost/pending/container_traits.hpp. I think we should continue to develope
> this.
Aha.
I'll take a look at it.
A setup of true container-based algorithms will require this.
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