On Thursday 19 September 2024 00:55:15 GMT-7 David Redondo wrote: > So related blog I read some time ago about this and the "natural order" of > qualifiers: > > https://quuxplusone.github.io/blog/2021/04/03/static-constexpr-whittling-kni > fe/
Thanks David. Arthur proposes: Attributes-friendness-storage-constness-virtualness-explicitness- signedness-length-type Identifier. static and inline are storage specifiers, so they go both before constexpr and we prefer "static inline" where both are permitted or required. I think this is a good suggestion to adopt. Arthur doesn't conclude very well whether constinit comes all the way first (because it modifies how the initialisation happens) versus being placed where constexpr would be. -- Thiago Macieira - thiago.macieira (AT) intel.com Principal Engineer - Intel DCAI Platform & System Engineering
smime.p7s
Description: S/MIME cryptographic signature
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development