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

Dequeue a list using an std::vector #382

Open
rogerworld opened this issue Apr 23, 2024 · 1 comment
Open

Dequeue a list using an std::vector #382

rogerworld opened this issue Apr 23, 2024 · 1 comment

Comments

@rogerworld
Copy link

Hello,

First of all thank you for the great efficient queue.

I have a novice question.
I need to use an std vector instead of a static array and need to reuse it in a while loop.

Do you have an example that illustrate this use case.

My concern is the follow:
Do I need to clear the vector each time ?

Thank you for your help.

@cameron314
Copy link
Owner

What have you tried? What isn't working? Is the element type itself a vector, or are you trying to use the bulk API?

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