Boost logo

Boost :

From: Joseph Gauterin (joseph.gauterin_at_[hidden])
Date: 2008-08-01 05:54:18


The 'barrier' namespace is only referred to in the two places Niels listed:

'test_adl_barrier.cpp' tests that boost::swap isn't ambiguous when
called on types declared in namespace boost - so we can rename it
'boost_type_ambiguity.cpp', or something similar. The comment inside
the test file can be altered accordingly as well.

'swap.html' contains the phrase ''for the idea to use a barrier
namespace, enabling the function to have the name 'swap' without
introducing ambiguity or infinite recursion". We can just replace that
with ''for the idea to make boost::swap less specialized than
std::swap, thereby allowing the function to have the name 'swap'
without introducing ambiguity."

If nobody objects to the phrasing, I'll make the change later today.

Joe.


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