This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH][libstdc++-v3 parallel mode] Enable user-defined swap
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: François Dumont <francois dot cppdevs at free dot fr>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 7 Mar 2011 20:41:25 +0000
- Subject: Re: [PATCH][libstdc++-v3 parallel mode] Enable user-defined swap
- References: <4D3DB1E0.5010008@kit.edu> <20110124101204.22a18cb4@shotwell> <4D67B800.2090403@kit.edu> <4D753B8A.9020200@free.fr> <AANLkTi=kkJ8H+HMxD0vSSJpQwrM94WBO3Wfd5jjVvk0E@mail.gmail.com>
On 7 March 2011 20:25, Jonathan Wakely wrote:
>
> 'swap' is a customization point, intended to allow users to provide
> their own versions, found by argument-dependent lookup.
For more details and history of swap as a point of customization, see
http://www.boostpro.com/writing/n1691.html#problem-2-name-reservation
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2001/n1296.asc
and Item 65 in Sutter & Alexandrescu's 'C++ Coding Standards' book