3 ms·
Actually, it's an old idea and very useful for exactly that: different orderings. It's used extensively in the Linux kernel, for example, where structs contain
by pmjordan 17y ago
Actually, it's an old idea and very useful for exactly that: different orderings. It's used extensively in the Linux kernel, for example, where structs contain multiple list_head members.
- ramchip 17y agoInteresting! I found a good explanation at http://locklessinc.com/articles/flexible_lists_in_cpp/ http://locklessinc.com/articles/flexible_lists_in_cpp/ I do wonder how they could have missed the obviousness of it. Or maybe it's just the shotgun approach to patent trolling.