> > QList can return a const & with the [] operator [1]. The documantation > even says it's the same as .at(). > > [1] http://doc.qt.io/qt-5/qlist.html#operator-5b-5d-2 > > That is true if the QList is const when calling the function. If it is not, the other operator [1] documentation describes the behavior.
[1] http://doc.qt.io/qt-5/qlist.html#operator-5b-5d
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
