Re: [Development] C++20 comparisons @ Qt (was: Re: C++20 @ Qt)

2023-07-25 Thread Thiago Macieira
On Tuesday, 25 July 2023 01:42:42 PDT Ivan Solovev via Development wrote: > > And why is that a problem? So long as the proper overload exists, it'll be > > called. There's only a problem if the overloads are ambiguous. > > The problem is that there might be no "proper" overload, but the compiler

Re: [Development] C++20 comparisons @ Qt (was: Re: C++20 @ Qt)

2023-07-25 Thread Ivan Solovev via Development
> Then don't use that as the hidden friend. The public API requirements take > precedence. So long as the problem is not insurmountable, we should make the > effort to have a clean API because we'll be stuck with it for the next 10 > years. > > > The public methods, in turn, are actually an issue,