Include dependency graph for Generic.h:
![](Generic_8h__incl.png)
This graph shows which files directly or indirectly include this file:
![](Generic_8h__dep__incl.png)
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]
template<class InputIterator , class Visitor >
Visitor& for_each | ( | InputIterator | from, |
InputIterator | to, | ||
Visitor & | visitor | ||
) |
◆ for_each() [3/3]
template<class L , class T >
T& for_each | ( | L const & | head, |
T & | visitor | ||
) |
Definition at line 23 of file Generic.h.
References head, and node::next.
Referenced by PrintHex(), and testHdrVisit().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products