Re: Add(Merge) two vectors
- From: "Stephen Howe" <sjhoweATdialDOTpipexDOTcom>
- Date: Mon, 12 Sep 2005 00:46:26 +0100
> Look,
> this isn't a merge of two vectors. Doing a "sort" after the "insert" will
> have the same result as a merge, but it not that efficient.
True, but you can do the insert(), then sort() just the portion that was
inserted, then do inplace_merge() on two sequences.
Stephen Howe
.
- Follow-Ups:
- Re: Add(Merge) two vectors
- From: Oliver \(Nospam\)
- Re: Add(Merge) two vectors
- References:
- Add(Merge) two vectors
- From: farmer
- Re: Add(Merge) two vectors
- From: Igor Tandetnik
- Re: Add(Merge) two vectors
- From: Oliver \(Nospam\)
- Add(Merge) two vectors
- Prev by Date: Re: Add(Merge) two vectors
- Next by Date: fast method of removing an element from STL list
- Previous by thread: Re: Add(Merge) two vectors
- Next by thread: Re: Add(Merge) two vectors
- Index(es):
Relevant Pages
|
Loading