On Friday, 9 February 2024 06:45:30 PST Volker Hilsheimer via Development 
wrote:
> The 3 big C++20 features people ask us about are modules, co-routines, and
> concepts. We have no compelling answers here. You can’t build Qt into a set
> of modules; we have no APIs using co-routines; none of our template
> constraints are expressed, or at least documented, as concepts, and there
> is no draft of a concept library for things that might be interesting for
> Qt users.

This change requires one concept:
https://codereview.qt-project.org/c/qt/qtbase/+/536993/7

I added a fallback to C++17. I make no promises that it has the same level of 
compatibility as the C++20 official concept. In fact, I know it doesn't. It 
will 
reject some types and accept others that it shouldn't.

That's QHash. That means we need to be sure we won't cause problems for 
existing users. I have absolutely no problem in making this feature only 
accessible in C++20, if need be.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Cloud Software Architect - Intel DCAI Cloud Engineering

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to