4 ms·
Struct composition is used pretty much everywhere in the Linux kernel. It's a pretty nice pattern, along with container_of() macro.
by megous 6y ago
Struct composition is used pretty much everywhere in the Linux kernel. It's a pretty nice pattern, along with container_of() macro.