Hi David,
Thanks for bringing this up. After reading the referenced KDAB article (and
especially the not-so-happy comments about this deprecation), I looked at
the code base.
Instances of Q_FOREACH in QGIS 2.99 (master): 2023
Why can't Qt just leave the macro in and recommend using a better C++1
Hi,
I would like to know if there is plans for replacing Q_FOREACH (use discouraged
from QT 5.7) with C++11 range based loop in QGIS code and if it is appropriate
to start the move in new PR ?
Some références:
http://doc.qt.io/qt-5/qtglobal.html#Q_FOREACH
http://en.cppreference.com/w/cpp/langua