Skip to content

Conversation

@bibmaster
Copy link
Contributor

@bibmaster bibmaster commented Apr 30, 2025

  • fix move constructor (use of uninitialized allocator)
  • fix constness in iter_t operators +(diff), -(iter)
  • make iter_t random access

I adopted this class in my project just as a replacement for deque and found some problems.

@bibmaster bibmaster force-pushed the origin/2025-04-segmented-vector-move-fix branch 5 times, most recently from bda90be to e109287 Compare April 30, 2025 14:09
- fix move constructor (use of uninitialized allocator)
- fix constness in iter_t operators +(diff), -(iter)
- make iter_t random access
@martinus martinus force-pushed the origin/2025-04-segmented-vector-move-fix branch from e109287 to 56f9a63 Compare October 5, 2025 13:51
Copy link
Owner

@martinus martinus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes! Sorry it took me so long to have a look & merge.

@martinus martinus merged commit cac780f into martinus:main Oct 5, 2025
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