Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-08-02 13:15:09


AMDG

Niels Dekker - mail address until 2008-12-31 wrote:
> Yes it does!!! :-) Workaround "a" does the job! I tested locally, for
> msvc-9.0, msvc-7.1, and borland-5.82.
>
> <snip>
>
> Do you think it would be okay to just apply workaround "a", as attached
> hereby? I mean, would it harm for other toolsets to have "using
> namespace std;" within the boost_swap_impl::swap_impl function?
>

I think it's ok. A using directive is just as correct as a using
declaration,
so it shouldn't break any of the more conformant compilers.
I've tested it on gcc and como.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk