Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-08-06 14:09:50

"Fernando Cacciola" <fernando_cacciola_at_[hidden]> 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; }


Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at