On Monday, 25 July 2022 13:28:58 PDT Volker Hilsheimer wrote:
> \fn int QMetaType::qRegisterMetaType(QMetaType meta)
> 
> This is misleading in this case, and outright invalid C++ in case of
> operators as hidden friends, but it works with the latter, and I expect it
> will make it work with this as well.

That's messed up.

I guess simply pre-declaring the function above the class so it's not a hidden 
friend helps.

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



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

Reply via email to