concurrentqueue icon indicating copy to clipboard operation
concurrentqueue copied to clipboard

Dequeue a list using an std::vector

Open rogerworld opened this issue 1 year ago • 1 comments

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.

rogerworld avatar Apr 23 '24 13:04 rogerworld

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

cameron314 avatar May 05 '24 17:05 cameron314