-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
add documentation for pointers to zero bit types #1561
Comments
Are you talking specifically about u0 or about 0-bit types in general? |
|
@andrewrk, sorry but you've changed the title in such a way that, to me you, are assuming the current semantics for u0 are correct, which I feel they may not be. It is my opinion that the semantics of u0 are more closely related to the semantics of u1..uN and have only incidental releationships with other types. In anycase, I feel we should agree on the semantics of u0, u1, ... uN, whatever they may turn out to be, before we can answer your issue "add documentation for pointers to zero bit types". If you agree, can you open another issue with a title something like "semantics of ux" or ... As a starting point I've created the repo zig-ux-semantics with some tests for a subset of the possible semantics. |
@winksaville you are welcome to open a new issue with proposed, altered semantics. |
txs, I'll do that. The proposal will be pretty simple, a u0 should have the same semantics as u1..u128. But I'll wait until I flesh out zig-ux-semantics to find out what works and what doesn't. |
I don't have a clear understanding of what the semantics of u0 are, hence I'm openning this issue so that they can be discussed. This is an offshoot of #1554, #1549, #1530 and maybe others.
The text was updated successfully, but these errors were encountered: