From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-04-30 10:09:44
| frank_at_[hidden] wrote:
| > As far as I understood the stored elements are not owned by the
| > containers itself, but allocated by some other object.
| Right. Actually the term 'store' is little bit misleading. But even in
| our native language german I didn't found a better term.
| > But why not
| > using a reference type and storing this in the usual non-instrusive
| > containers?
| Performance reasons.
so why not use "ordinary" views, eg. containers of pointers?
it's not difficult to lay out std::vector<Foo*> s.t. no memory allocation
occurs (except once).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk