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

2024-09-19 Thread Tor Arne Vestbø via Development
> On Sep 19, 2024, at 16:33, Volker Hilsheimer via Development > wrote: > > My preference would be "static constexpr inline”, as static is the most > important piece of information (storage and calling convention in case of > member functions), constexpr is “good to know”, and inline is in p

Re: [Development] Why does QFlag exist? (Not QFlags)

2024-09-19 Thread Thiago Macieira
On Thursday 19 September 2024 08:07:19 GMT-7 Thiago Macieira wrote: > On Thursday 19 September 2024 01:11:54 GMT-7 Halla Rempt wrote: > > Who knows whether anyone is using it? There are zillions of projects using > > Qt out in the world, but the people developing Qt keep assuming that > > "using >

Re: [Development] Why does QFlag exist? (Not QFlags)

2024-09-19 Thread Thiago Macieira
On Thursday 19 September 2024 01:11:54 GMT-7 Halla Rempt wrote: > Who knows whether anyone is using it? There are zillions of projects using > Qt out in the world, but the people developing Qt keep assuming that "using > Qt" means using Qt inside Qt, as if the entire platform solely exists for > bu

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

2024-09-19 Thread Thiago Macieira
On Thursday 19 September 2024 07:33:10 GMT-7 Volker Hilsheimer via Development wrote: > My preference would be "static constexpr inline”, as static is the most > important piece of information (storage and calling convention in case of > member functions), constexpr is “good to know”, and inline i

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

2024-09-19 Thread Volker Hilsheimer via Development
> On 19 Sep 2024, at 16:18, Thiago Macieira wrote: > > 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

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

2024-09-19 Thread Thiago Macieira
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-friend

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

2024-09-19 Thread Thiago Macieira
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

Re: [Development] Why does QFlag exist? (Not QFlags)

2024-09-19 Thread Axel Spoerl via Development
QFlag, a thin wrapper around an int, is a helper class used for QFlags. It should not be used in applications at all. (https://doc.qt.io/qt-6/qflag.html#details) If you have specific questions / issues porting Krita to Qt 6, feel free to use https://forum.qt.io, submit a bugreport or ask here. A

Re: [Development] Why does QFlag exist? (Not QFlags)

2024-09-19 Thread Halla Rempt
On dinsdag 10 september 2024 19:33:32 CEST Thiago Macieira wrote: > Is this supported? I didn't know about it until yesterday. I doubt anyone is > using it, though it's possible some code carried over from Qt 3 was left > unmodified like that. Who knows whether anyone is using it? There are zi

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

2024-09-19 Thread David Redondo
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-knife/ David -- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development