std::priority_queue<some_type, std::vector<some_type>, some_comparator> A;
std::priority_queue<some_type, std::vector<some_type>, some_comparator> B;
How can I merge these priority queues A and B based on same comparator. I tried to find builtin function but could not find any.