0

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

4
Contributors
4
Replies
5
Views
9 Years
Discussion Span
Last Post by dwhite409
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.