This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] DR 522 (Ready) - tuple<>::swap
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Chris Fairles <chris dot fairles at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 01 Oct 2008 10:38:57 +0200
- Subject: Re: [PATCH] DR 522 (Ready) - tuple<>::swap
- References: <fac6bb500809301659w39ba20c3m7001d98cf87fa5af@mail.gmail.com>
Hi,
> Implements DR 522 - tuple<>::swap. Am I using swap ADL correctly here?
>
I think you are. In fact, if I remember correctly, that particular idiom
is also suggested explicitly in Scott Meyers' Effective C++, it would be
nice if somebody could double check that...
Therefore, barring comments during the next 1-2 days, please go ahead
with the patch, and many thanks again!
Paolo.
PS: I would suggest marking patches for the library with [v3] or
something similar, it helps when the mailing list is followed via email
only...