|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-08 21:02:11
----- Original Message -----
From: "edbrey" <EdwardDBrey_at_[hidden]>
> > > My reading of this indicates that the plan is to continue to
> > > _not_ give the programmer control over the insertion location.
> > > This is too bad, since that would comes in handy on occasion.
> > > It would be nice if the vector associative containers provided
> > > the programmer control over precise insertion location.
> >
> > That was the point of my proposal. It also lets you say
> >
> > v.insert_with_hint(v.begin(), x); // insert at first valid location
> > v.insert_with_hint(v.end(),x); // insert at last valid location
>
> I assume you mean your proposal for library issue 233.
No, that was Andy Koenig's idea originally. I am only proposing it for our
boost library.
> Your proposal
> didn't make it into the notes on the issues web page, so thanks for
> clarifying it.
It did, but when it was voted down it appears to have been removed. I
contacted Matt about fixing that.
> Regardless of what becomes of std::multiset et. al., your proposal
> looks perfectly suitable for a vector associative container.
I agree ;-)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk