ADL doesn't seem to be working properly on Visual C++ 7.1 when calling swap, so workaround this in the compile tests.

[SVN r41931]
This commit is contained in:
Daniel James
2007-12-09 19:31:00 +00:00
parent 0650002b4f
commit e748c34dfd

View File

@ -217,7 +217,8 @@ namespace minimal
size_type max_size() const { return 1000; }
#if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
#if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) || \
BOOST_WORKAROUND(MSVC, <= 1300)
public: allocator& operator=(allocator const&) { return *this;}
#else
private: allocator& operator=(allocator const&);