Is it possible to specify the comparator of tbb::concurrent_priority_queue in runtime, as in std::priority_queue?
In std::priority_queue, you can pass the comparator as an argument of the constructor. For example, see 'sixth' of the following example. http://www.cplusplus.com/reference/queue/priority_queue/priority_queue/
However, it seems like tbb::concurrent_priority_queue does not receive comparator as an argument, and creates one itself using the default constructor. Is there any way to specify it in runtime?