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
A sizeof operator/macro that computes the size of a type at compile time.
What problems would this feature address?
Allocating space on the heap for composite types is currently not easy, since structs can have arbitrary sizes. Estimating the size will become impossible if #6 is implemented.
How do you think this feature should be implemented?
Likely as an operator, but replaced by a numerical constant at compile time.
The text was updated successfully, but these errors were encountered:
What new feature would you like to see?
A
sizeof
operator/macro that computes the size of a type at compile time.What problems would this feature address?
Allocating space on the heap for composite types is currently not easy, since structs can have arbitrary sizes. Estimating the size will become impossible if #6 is implemented.
How do you think this feature should be implemented?
Likely as an operator, but replaced by a numerical constant at compile time.
The text was updated successfully, but these errors were encountered: