std::merge for n sequences

H

Hicham Mouline

Hicham Mouline said:
Hello,
is there such a version of the algorithm?
regards,

In fact, std::merge is not what I want, but something that is remotely
related to it.
I have n sorted containers of elements. Each element contains a boost::date
and other data.
I am trying to make the containers uniform in the sense that:
Assuming all begin and end dates of the n containers are identical,
if a date appears in any of the n containers, it should appear in all the
other containers,
if it doesn't, it is inserted and taking missing data from the previous
element available in the container.

Are there things in the std lib or boost to faciliate implementing this
case?

Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,147
Messages
2,570,833
Members
47,377
Latest member
MableYocum

Latest Threads

Top