diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-07-22 16:08:22 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2014-07-23 17:51:12 +0200 |
commit | 8933d7c1f90d12a89ba6e8205efaaa8c3a53ec8e (patch) | |
tree | 487ce4da9126ed9e37032902841c1f7d9561054a /qmake/qmake.pri | |
parent | f07c27eec117c664e3c0101c3077524647a32662 (diff) |
Document that qHash(T) must be in T's namespace, due to ADL
Due to C++'s rule of Argument-Dependent Lookup, a call to an unqualified
qHash(t) will look up qHash in T's namespace. So edit the docs saying
that it must be "global qHash" to say that it should be in the type's
namespace.
Task-number: QTBUG-34912
Change-Id: I7a72800008ccb710b4bb814e42db7a95f385f53e
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'qmake/qmake.pri')
0 files changed, 0 insertions, 0 deletions