Re:How to use the new counted_by attribute in C (and Linux)
by db48x on Saturday July 20, 2024 @05:51PM
(#41020307)
True, but compile time warnings beat runtime checks every time. Well, as long as people turn the warnings into errors so that they cannot just be ignored.
So, while you still have to make sure your structure is sane, now the runtime can play along too.