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
> | 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;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk