Как отсортировать QList с помощью библиотеки Qt (возможно, qSort ())?

class MyClass {
  public:
    int a;
    bool operator<(const MyClass other) const {
        return a<other.a;
    }
    ....
};
....
QList<MyClass*> list;
15
задан kuzmich 24 February 2011 в 10:58
поделиться