9 Mar
2007
9 Mar
'07
8:49 p.m.
Olaf van der Spek
Hi,
Why is equals() in the top namespace in 1.33.1?
#include
#include int main() { boost::array
a = { 1, 2, 3, 4 }; equals(a, a); return 0; }
To determine if it /really/ is the top namespace, use ::equals(a,a); This should be rejected, since it blocks the normal name lookup rules.