Boost logo

Boost :

Subject: Re: [boost] [utility] [swap] How about Boost.Move?
From: Joseph Gauterin (joseph.gauterin_at_[hidden])
Date: 2013-07-29 11:03:20


Given a user define types that specializes std::swap but isn't moveable (a
reasonable scenario for C++03 code still being compiled with a C++03
compiler), wouldn't this change result in 3 copies instead of a single call
to the specialized std:swap?


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