Re: Add(Merge) two vectors
- From: "Oliver \(Nospam\)" <ok86nsp@xxxxxxxx>
- Date: Mon, 12 Sep 2005 16:45:50 +0200
"Stephen Howe" <sjhoweATdialDOTpipexDOTcom> schrieb im Newsbeitrag
news:%23J3LNsytFHA.3188@xxxxxxxxxxxxxxxxxxxxxxx
[...]
> True, but you can do the insert(), then sort() just the portion that was
> inserted, then do inplace_merge() on two sequences.
>
Yes, you can even use copy instead of insert. This might be just another
approach.
It is efficient, what you are doing? I wonder about your programming
philosophy. Do you want to try out all possible solutions to see, if they
work?
// oliver
.
- Follow-Ups:
- Re: Add(Merge) two vectors
- From: Stephen Howe
- 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\)
- Re: Add(Merge) two vectors
- From: Stephen Howe
- Add(Merge) two vectors
- Prev by Date: Re: fast method of removing an element from STL list
- Next by Date: Re: 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
|
|