3 ms·
With a non-intrusive linked list type, can't you define the intrusive version as `Node<void>`?
by NobodyNada 1y ago
With a non-intrusive linked list type, can't you define the intrusive version as `Node<void>`?
- deleted 1y ago[deleted]
- suspended_state 1y agoIf that is possible in Zig to have a "void" struct field, then you are correct, but wouldn't this block a third-party user from defining a struct field named data later?