
Hi,
Pierre Morcello escribió: I was waiting for you to correct the bug Ion Gaztañaga wrote : Please try trunk code and let me know if you are happy.
1/ This works, you did it ! 2/ But I got another compilation error on almost the same case, if I use std::swap instead of defining swap : #include <boost/container/vector.hpp> class swapOnly2 { public: swapOnly2():i(0){} private: int i; swapOnly2(const swapOnly2&); swapOnly2& operator=(const swapOnly2&); }; namespace std { template <> void swap( swapOnly2& a, swapOnly2& b ) { std::swap(a.i, b.i); } } int main() { boost::container::vector< swapOnly2 > swapOnlys(3); return 0; } This does not compile. Is this the correct behaviour? Did I miss something? Best regards, Pierre Morcello -- View this message in context: http://boost.2283326.n4.nabble.com/Containers-Review-Result-Boost-Containers... Sent from the Boost - Dev mailing list archive at Nabble.com.