If you recall in the implementation of list:


struct list_node_base {
list_node_base* next
list_node_base* prev

...

void hook(const list_node_base*);

....
};

I wanted to look under the hood of the hook function, but can't find it anywhere in the STL library or any reference to this method via Google for that matter. All that Google pulls up are copies of <list>, which, duh, I'm looking at...

If you know how how the hook method works and could even just pseudo code it for me I'd appreciate it.

Much thanks

why do you think that function is part of stl library?

A ha! Thank you very much for your replies!