Re: Add(Merge) two vectors



> 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


.



Relevant Pages

  • Re: Add(Merge) two vectors
    ... > True, but you can do the insert, then sort() just the portion that was ... then do inplace_mergeon two sequences. ... Prev by Date: ...
    (microsoft.public.vc.stl)
  • Re: Using function in Recordset.Sort
    ... No. Sort is very limited. ... power. ... Stephen Howe ... Prev by Date: ...
    (microsoft.public.data.ado)
  • 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: sorting a recordset
    ... Is there anyone who know if it's possible to sort a ... It is one of properties of a Recordset. ... Stephen Howe ... Prev by Date: ...
    (microsoft.public.data.ado)
  • 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)

Loading