3 ms·
In the second to last paragraph; did you hint that wrapping a char*, used as a string, into a struct, to get type safety?
by xcgvgh 11y ago
In the second to last paragraph; did you hint that wrapping a char*, used as a string, into a struct, to get type safety?
- _wmd 11y agoYep, you don't even need struct literals for it. Quite a few int types are wrapped this way in the Linux kernel
- deleted 11y ago[deleted]