You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, the idea is that the 64 bit counter is huge and will never overflow.
You bring up a good point, it would be nice to find a way to cleanly handle
the overflow.
I read the code, and found if the head_ overflow, then it can't Push anymore.
and I change the head_ type from size_t to uint16_t, and just run code:
and then it stop cout at 65535 and then dead
The text was updated successfully, but these errors were encountered: