Il 07/05/19 17:02, Jason H ha scritto:
Given how often I miss indexing negatives (to index from the end) It seems that we could do this in Qt6? /me ducks
Note that you can (today!) use a range::view::reverse and pass positive indexes, counting backwards from the end. Adding this specific feature to QVector::operator[] won't be exactly welcomed (it'll add a branch inside inside of it).
My 2 c, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a KDAB Group company Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com KDAB - The Qt, C++ and OpenGL Experts
smime.p7s
Description: Firma crittografica S/MIME
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest