
30 Jul
2008
30 Jul
'08
8:55 p.m.
Steven Watanabe wrote:
The using declaration isn't supposed to work.
So do you think it's safe to remove the swap_adl_barrier namespace from http://svn.boost.org/svn/boost/trunk/boost/utility/swap.hpp now? (See attached patch) I think it would make the code easier to read, especially now that we know that swap_adl_barrier isn't really working as an ADL barrier.
So... is it worth reporting the compiler bug to Microsoft? Because MSVC suggested that the using-declaration would provide an ADL barrier.
David Abrahams wrote:
All bugs are worth reporting.
There's quite a few ADL related bug reports already, at http://connect.microsoft.com/feedback/default.aspx?SiteID=210 I'll have a closer look later... Good night, Niels