Include dependency graph for Generic.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | unary_function< _Arg, _Result > |
class | InstanceToSingletonAdapter< C > |
struct | PointerPrinter< Pointer > |
Functions | |
template<class L , class T > | |
T & | for_each (L const &head, T &visitor) |
template<class T > | |
T & | for_each (dlink_list const &collection, T &visitor) |
template<class InputIterator , class Visitor > | |
Visitor & | for_each (InputIterator from, InputIterator to, Visitor &visitor) |
Function Documentation
◆ for_each() [1/3]
template<class T >
T & for_each | ( | dlink_list const & | collection, |
T & | visitor | ||
) |
Definition at line 32 of file Generic.h.
References dlink_list::head, and node::next.
◆ for_each() [2/3]
Visitor & for_each | ( | InputIterator | from, |
InputIterator | to, | ||
Visitor & | visitor | ||
) |
◆ for_each() [3/3]
Definition at line 23 of file Generic.h.
References head, and node::next.
Referenced by PrintHex(), and testHdrVisit().