Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pool_element.h
Go to the documentation of this file.
1 // Copyright 2011 Google Inc.
16 
17 #ifndef PAGESPEED_KERNEL_BASE_POOL_ELEMENT_H_
18 #define PAGESPEED_KERNEL_BASE_POOL_ELEMENT_H_
19 
20 #include <list>
21 
23 
30 namespace net_instaweb {
31 
32 template<class T>
33 class PoolElement {
34  public:
35  typedef typename std::list<T*>::iterator Position;
36 
37  PoolElement() { }
38 
41  Position* pool_position() { return &pool_position_; }
42 
43  private:
44  Position pool_position_;
45 
46 
47 };
48 
49 }
50 
51 #endif
Position * pool_position()
Definition: pool_element.h:41
Definition: pool_element.h:33