Boost logo

Threads-Devel :

From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2008-04-16 10:34:46


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

thread/locks.hpp doesn't define any 2-argument free swap functions for the
lock classes in their enclosing namespace, which can be found by ADL. This
is needed to make the

using std::swap;
swap(A, B);

trick work for the lock classes.

- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIBg6L5vihyNWuA4URAqlGAKDEQvgGLJ+XWsZh4mlApf2USgaVeQCbBqdf
wiE3x9spg/RkfRfotjSqPHU=
=OErv
-----END PGP SIGNATURE-----


Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk