9 Sep
2008
9 Sep
'08
2:13 p.m.
On Tue, Sep 9, 2008 at 3:58 PM, Robert Jones
On Tue, Sep 9, 2008 at 2:43 PM, Ovanes Markarian
wrote: It depends on what your container consists of. Ordered Index allows only insert. If it would support sequenced or random access policies you would have the push_back member.
Ahh! Got it, great - just added a first index of sequenced and off we go!
But as suggested by Peter in another thread you can use std::inserter instead of back_inserter in your copy algorithm call, if you don't need to remember the insertion order at all. Good Luck, Ovanes