[Development] (Bikeshed, pedantic) East constexpr vs West constexpr
Allan Sandfeld Jensen
kde at carewolf.com
Fri Sep 20 21:15:23 CEST 2024
On Thursday 19 September 2024 16:00:22 Central European Summer Time Thiago
Macieira wrote:
> 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.
I prefer which ever one people write. Unlike other orders like east const vs
west const, there is no difference in my ability or speed to parse either
forms. So do not care.
Best regards
Allan
More information about the Development
mailing list