Presently i'm trying to implement this solution: https://stackoverflow.com/a/29236236/8882282 And I have no problems when i'm using less<>(), but have a lot of them in any other cases(greater, my own comparator). For example:
std::vector<long long int> container;
container.reserve(dimension);
std::priority_queue<long long int, std::vector<long long int>> queue(std::greater<long long int>(), std::move(container));
"No matching constructor"
Have you any ideas?