[Development] (Bikeshed, pedantic) East constexpr vs West constexpr

Thiago Macieira thiago.macieira at intel.com
Thu Sep 19 16:00:22 CEST 2024


On Wednesday 18 September 2024 22:10:44 GMT-7 Marc Mutz via Development wrote:
> Enforcing one over the other would make it impossible to follow
> https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews#Public_Headers Item
> 1 in certain cases. That rule has at least _some_ technical merit.
> Whether inline or constexpr comes first has none, IMNSHO.

I'm thinking of new code and how we usually write code. We don't enforce the 
static inline / inline static, for example, but most people write the former. 
I'm just wondering which one we prefer.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Platform & System Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20240919/39aa0e8f/attachment.bin>


More information about the Development mailing list