Boost logo

Boost :

Subject: Re: [boost] Boost.Swap docs missing mention of header!
From: Niels Dekker - address until 2010-10-10 (niels_address_until_2010-10-10_at_[hidden])
Date: 2009-09-07 16:34:13


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

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