On Thursday 14. May 2015 05:57:54 Thiago Macieira wrote:

> You cannot compare the addresses [of inline methods]
> This is intentional and if you rely on that, your code is flawed by design.

Why not? 
The C++ standards does not forbid it. It defines that it works. I see no 
exceptions for inline functions in ยง5.10 (C++14).

We rely on this when connecting using function pointers to inline slot with 
Qt::UniqueConnection

So if the two connect statements are in different library that might fails...


_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to