Fixed comment in swap/test/specialized_in_boost_and_other.cpp

[SVN r47840]
This commit is contained in:
Niels Dekker
2008-07-27 12:46:45 +00:00
parent 3fd0ea6e75
commit c286d62223

View File

@@ -4,15 +4,15 @@
// (See accompanying file LICENSE_1_0.txt or copy at // (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt) // http://www.boost.org/LICENSE_1_0.txt)
// Tests whether two object in a namespace other than boost are properly // Tests whether instances of a class from a namespace other than boost are
// swapped, when both boost and the other namespace have a custom swap function // properly swapped, when both boost and the other namespace have a custom
// for their class. Note that it shouldn't be necessary for a class in an other // swap function for that class. Note that it shouldn't be necessary for a class
// namespace to have a custom swap function in boost, because the boost::swap // in an other namespace to have a custom swap function in boost, because the
// utility should find the swap function in the other namespace, by argument // boost::swap utility should find the swap function in the other namespace, by
// dependent lookup (ADL). Unfortunately ADL isn't fully implemented by some // argument dependent lookup (ADL). Unfortunately ADL isn't fully implemented
// specific compilers, including Intel C++ 8.1, MSVC 7.1, and Borland 5.9.3. // by some specific compiler versions, including Intel C++ 8.1, MSVC 7.1, and
// Users of those compilers might consider adding a swap overload to the boost // Borland 5.9.3. Users of those compilers might consider adding a swap overload
// namespace. // to the boost namespace.
#include <boost/utility/swap.hpp> #include <boost/utility/swap.hpp>
#define BOOST_INCLUDE_MAIN #define BOOST_INCLUDE_MAIN