$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Rob Stewart (stewart_at_[hidden])
Date: 2005-04-27 17:13:05
From: "Thorsten Ottosen" <nesotto_at_[hidden]>
> "Peter Dimov" <pdimov_at_[hidden]> wrote in message
> news:015401c54b68$01274540$6401a8c0_at_pdimov2...
> | David Abrahams wrote:
> | > [...] Efficiency
> | > considerations are usually only used when deciding whether or not to
> | > provide functionality at all. for example, that's why we don't have
> | > std::vector::push_front.
> |
> | And this is very annoying when you really want to push_front.
>
> cont.insert( cont.begin(), new_element );
The different spelling complicates generic code. That's the same
problem with pointer containers relying on clone().
-- Rob Stewart stewart_at_[hidden] Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;