circular_buffer icon indicating copy to clipboard operation
circular_buffer copied to clipboard

Fix -Wdeprecated-copy

Open georgthegreat opened this issue 2 years ago • 2 comments

boost/circular_buffer/include/boost/circular_buffer/details.hpp:263:15: error: definition of implicit copy constructor for 'iterator<boost::circular_buffer<bool>, boost::cb_details::const_traits<std::allocator<bool>>>' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
    iterator& operator=(const iterator&) = default;
              ^

georgthegreat avatar Dec 29 '22 14:12 georgthegreat

I think that compiler-generated assignment operator should work as intended.

georgthegreat avatar Dec 29 '22 14:12 georgthegreat

Just commenting in the hopes this gets looked at.

CamJN avatar Feb 13 '24 22:02 CamJN