Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: circular_array #33

Open
NAThompson opened this issue Dec 12, 2019 · 3 comments
Open

Feature request: circular_array #33

NAThompson opened this issue Dec 12, 2019 · 3 comments

Comments

@NAThompson
Copy link
Contributor

Having a compile-time size of a circular buffer is often useful:

boost::circular_array<double, 7> v;

Will attempt to provide this in a forthcoming PR if everyone thinks it's a good idea.

@glenfe
Copy link
Member

glenfe commented Dec 12, 2019

You might want to talk to @breese who has implemented https://github.com/breese/trial.circular

@glenfe
Copy link
Member

glenfe commented Dec 12, 2019

See also the e-mail thread on the Boost mailing list: https://lists.boost.org/Archives/boost/2019/09/246925.php

@NAThompson
Copy link
Contributor Author

@breese's work is exactly the way I had in mind to do this.

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

No branches or pull requests

2 participants