------- Comment #3 from nicolas dot burrus at ensta dot fr 2007-05-05 16:53 ------- Indeed, you're right, from the standard, section 14.6.3 (non dependent names) in the template section : "Non-dependent names used in a template definition are found using the usual name lookup and bound at the point they are used".
However, in this case, shouldn't g++ be consistent and still fail for QSet<int*> if void qHash(double) is not defined before the template definition ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31816