![]() |
| ||
| STL list question 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 |
| ||
| Re: STL list question why do you think that function is part of stl library? |
| ||
| Re: STL list question it's not STL, it's libstdc++, list.cc module: http://www.cs.brown.edu/~jwicks/libs...cc-source.html 00123 void;) |
| ||
| Re: STL list question |
| ||
| Re: STL list question A ha! Thank you very much for your replies! |
| All times are GMT -4. The time now is 4:12 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC