Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-05-30 14:48:21


--- In boost_at_[hidden], Gary Powell <Gary.Powell_at_s...> wrote:
> Looks neat.
>
> I request that the use of
> #include <boost/...>
> be changed to
> #include "boost/..."
>
> I was recently informed that <> was reserved for standard libraries
only.
> Since boost isn't quite there yet, lets use ""

I think you're misinformed about the reservation, but I don't have a
strong opinion on our #include convention.

> Also for insert_unique and insert_equal that take a range, would it
be worth
> it to call m_impl.reserve(m_impl.size() + distance(first,last) ); ?
I know
> it puts another restriction on the implementation, (requires
a "reserve(N)"
> fn) but the added efficiency of allocating the additional space in
one call
> could be worth it.

That sounds like a good idea. BTW, I have a reserve() function.
-Dave


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