"Fernando Cacciola" <[EMAIL PROTECTED]> writes: >>and anyway I don't see how it could help if you want to >> specialize something in std. Am I missing something? >> > If the specialization is injected into 'std' via > a using directive, as in > > namespace std { using namespace stdx ; } > > the problem goes away (the primary swap<> is now found).
Err, no. Koenig lookup doesn't proceed through using directives. namespace std { using stdx::swap; } works. -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost