Also see this newer thread on the same topic.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
[Pre-RFC] Add a new offset_of macro to core::mem
|
134 | 13403 | December 22, 2024 | |
Get the offset of a field from the base of a struct | 9 | 7080 | December 22, 2024 | |
`typeof` as a macro? | 5 | 1269 | May 18, 2024 | |
Supporting offset-based types (allocation-bound indicies) | 1 | 223 | September 30, 2024 | |
What do you think about relative pointers? | 14 | 964 | July 1, 2024 |