Hi, I can't seem to wrap my head around what one can do with Q_ASSUME, i.e. which will be the code for which the compiler won't emit code (and how the compiler could know not to emit code as a function of a runtime condition?!)
Squinting at the macros it seems evident that you cannot do something like this, which to me the documentation suggests (and I think) you SHOULD be able to do: Q_ASSUME(conditionsMet, { // do something that should be done only when conditions are met }); R _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest