Skip to content

Conversation

@georgthegreat
Copy link

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;
              ^

```
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
Copy link
Author

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

@CamJN
Copy link

CamJN commented Feb 13, 2024

Just commenting in the hopes this gets looked at.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants