Boost logo

Boost :

Subject: Re: [boost] [Bug Sprint] [variant] #2839 ambiguous swap call
From: Joseph Gauterin (joseph.gauterin_at_[hidden])
Date: 2009-06-05 06:38:16


I'd still go for making boost::detail::move_swap::swap less
specialized, as it is the only option I can see that will result in
valid code for types where ADL considers std::swap, even if it could
result in sub-optimal performance.

That is unless anyone can think of a clever way to circumvent the problem.


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