Boost.Swap docs missing mention of header!

http://www.boost.org/doc/libs/1_40_0/libs/utility/swap.html doesn't tell me what I need to include in order to use boost::swap. -- Dave Abrahams BoostPro Computing http://www.boostpro.com

David Abrahams wrote:
http://www.boost.org/doc/libs/1_40_0/libs/utility/swap.html doesn't tell me what I need to include in order to use boost::swap.
#include <boost/swap.hpp> will do. But it certainly should be documented. Note that Thorsten has requested the very same, a few months ago: [boost] [swap] please update documentation with the header I need to include http://lists.boost.org/Archives/boost/2009/06/153477.php Joseph Gauterin is the maintainer of boost::swap, so I'll ask him to fix it. Kind regards, Niels -- Niels Dekker http://www.xs4all.nl/~nd/dekkerware Scientific programmer at LKEB, Leiden University Medical Center

Niels Dekker - address until 2010-10-10 wrote:
David Abrahams wrote:
http://www.boost.org/doc/libs/1_40_0/libs/utility/swap.html doesn't tell me what I need to include in order to use boost::swap.
#include <boost/swap.hpp> will do. But it certainly should be documented.
Note that Thorsten has requested the very same, a few months ago: [boost] [swap] please update documentation with the header I need to include http://lists.boost.org/Archives/boost/2009/06/153477.php
Joseph Gauterin is the maintainer of boost::swap, so I'll ask him to fix it.
Surely adding the name of header to documentation should fall under "obvious change" category? - Volodya

Joseph Gauterin is the maintainer of boost::swap, so I'll ask him to fix it.
Vladimir Prus wrote:
Surely adding the name of header to documentation should fall under "obvious change" category?
Okay, committed! Please have a look: https://svn.boost.org/trac/boost/changeset/56107 http://svn.boost.org/svn/boost/trunk/libs/utility/swap.html Kind regards, Niels -- Niels Dekker http://www.xs4all.nl/~nd/dekkerware Scientific programmer at LKEB, Leiden University Medical Center
participants (4)
-
David Abrahams
-
Joseph Gauterin
-
Niels Dekker - address until 2010-10-10
-
Vladimir Prus