Re: Add(Merge) two vectors



"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


.



Relevant Pages

  • Re: Add(Merge) two vectors
    ... True, but you can do the insert, then sort() just the portion that was ... Stephen Howe ... Prev by Date: ...
    (microsoft.public.vc.stl)
  • Excel sorting problems
    ... I have a huge document that I must sort all the time, the trouble is i'm not ... portion of the row any suggestions ... Prev by Date: ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Anti - Muslim ignorance
    ... the sort of time necessary to type out an adequate response. ... demonstrate a divine origin of the Qur'an. ... Another portion worthy of note is the following commentary on Soorat ...
    (alt.religion.islam)
  • Re: Using hashes to sort number sequences
    ... > and search for similar number sequences in file b.txt. ... Why don't you just sort (using the Unix or maybe even the Win32 sort ... of method will avoid reading your $infile2 many ... You are discarding that data, ...
    (comp.lang.perl.misc)
  • sorting a column with number & letters
    ... The problem is that the number portion of your data is ... and number portions apart in separate columns, ... Then sort all the data on the two new columns. ... This is my first post. ...
    (microsoft.public.excel.misc)