-
Notifications
You must be signed in to change notification settings - Fork 182
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
Queue with capacity 1 is both empty and full #214
Comments
From the docs: "A statically allocated single producer single consumer queue with a capacity of N - 1 elements". This is, I think, because the needed const generic math to allocate Is it possible to statically assert |
Oh, I see, I missed that |
It's new in 0.7 (the first const generics based version). |
In nightly only. |
Hi, it's possible to do asserts in const with some tricks. I'll look into adding them everywhere. |
Yeah, the interface is a bit unfortunate. |
The text was updated successfully, but these errors were encountered: