27 bool operator() (std::shared_ptr<Region> a, std::shared_ptr<Region> b) {
28 return a->position() < b->position();
33 bool operator() (std::shared_ptr<Region> a, std::shared_ptr<Region> b) {
34 return a->layer() < b->layer();
44 bool operator() (std::shared_ptr<Region> a, std::shared_ptr<Region> b) {
46 (a->layer() < b->layer() && a->position() < b->position())
47 || (a->layer() == b->layer() && a->position() < b->position());