eg. you can find macros in Linux driver development container_of. Essentially, this is the inverse operator for ->, which gives a pointer to the containing structure if you received a pointer to a member.
container_of
->
In addition to Greg Croah's blog, I found this template in the list and hash implementation of Pintos.
The real name of this template is "container_of ()". Trying to fit this C-ism into a Java or C ++ design pattern is futile. It is not a matter of not binding responsibilities, or designating or delegating anything. If you must think in these terms, then this is "promiscuous generalized inheritance." If you do not need to think in these terms, then this is much less erratic.
, Chain Of Responsibility. , , - . , , , "" , "".
Chain Of Responsibility
"/" "" , ( ), . , , Chain Of Responsibility, ; , , , .
/ . , ( ), ( ) Command/Message. , , , , .
, C2 ... .