Boost logo

Boost :

From: Giovanni Bajo (giovannibajo_at_[hidden])
Date: 2002-07-19 20:26:52

----- Original Message -----
From: "David Abrahams" <david.abrahams_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, July 20, 2002 3:01 AM
Subject: Re: [boost] mpl::erase with vector_c

> You might consider turning the way you think of vector around so that
> push_front is actually what you're now calling push_back. You can still
> index it in O(1) I think.

Maybe my brain is swizzling, but I reckon it'd be better to force
copy+push_back instead of copy_backward+push_front. It just looks to me it
makes more sense - copying going forward and adding to the end. Also, isn't
copy faster than copy_backward?

Giovanni Bajo

Boost list run by bdawes at, gregod at, cpdaniel at, john at