Skip to content

Conversation

@Spartan322
Copy link
Member

@Spartan322 Spartan322 commented Oct 14, 2025

Should mostly behave as a drop-in replacement for std::vector, if you need stack allocation, use foonathan::memory.

@Spartan322 Spartan322 added enhancement New feature or request topic:core labels Oct 14, 2025
@Spartan322 Spartan322 force-pushed the add/ring-buffer branch 4 times, most recently from 0acb80e to 974f779 Compare October 14, 2025 04:10
Copy link
Contributor

@wvpm wvpm left a comment

Choose a reason for hiding this comment

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

Copy link
Contributor

@wvpm wvpm left a comment

Choose a reason for hiding this comment

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

As discussed in the discord, we can use this as a base and add a wrapper type that restricts the direction of input, prevents reallocation and supports filling.

@Spartan322 Spartan322 merged commit 82ba102 into master Oct 15, 2025
16 checks passed
@Spartan322 Spartan322 deleted the add/ring-buffer branch October 15, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request topic:core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants