9 Mar
2007
9 Mar
'07
7:18 p.m.
Hi, It is not and it has never been there. I assume, that in your example argument dependent lookup took a place. Since boost::array is in the boost namespace, this namespace is also searched when you use unqualified call to equals. And equals as well as many other algorithms is pulled to boost namespace via "using" directive. Therefore it is found. Best regards, Pavol. Olaf van der Spek wrote:
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; } _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users