On Monday, 6 March 2023 22:15:01 PST Hamish Moffatt via Interest wrote: > ../../../../Qt6.4.2/6.4.2/gcc_64/include/QtCore/qdebug.h:217:53: note: > candidate template ignored: requirement > 'std::conjunction_v<std::disjunction<std::is_base_of<QList<QString>, > QString>, QTypeTraits::has_ostream_operator<QDebug, QString, void>>>' was > not satisfied [with T = QString]
This is the expected template and the compiler told us why it couldn't expand: it thinks that the QDebugIfHasDebugStreamContainer condition wasn't satisfied. That condition is std::is_base_of<Container, T> OR QTypeTraits::has_ostream_operator<Stream, T> Obviously, QStringList is not a base class of QString; we're expecting the second check to be true, that there's an output streaming operator for QDebug- QString That of course is there; it's in QDebug itself. So my conclusion is that your compiler has a bug and improperly parsed the C++ code. Does this problem happen with GCC 11 or 12? -- Thiago Macieira - thiago.macieira (AT) intel.com Cloud Software Architect - Intel DCAI Cloud Engineering
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest