Ticket #9510: swap_new.patch

File swap_new.patch, 450 bytes (added by Sambit Padhi <sambitbolt@…>, 9 years ago)
  • swap.hpp

     
    2121// avoid ambiguity when swapping objects of a Boost type that does
    2222// not have its own boost::swap overload.
    2323
    24 #include <algorithm> //for std::swap
     24
    2525#include <cstddef> //for std::size_t
     26#include <utility> // std::swap is included in <utility> in C++11
    2627
    2728namespace boost_swap_impl
    2829{