11 #ifndef ASIO_DETAIL_OBJECT_POOL_HPP 12 #define ASIO_DETAIL_OBJECT_POOL_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 25 template <
typename Object>
31 template <
typename Object>
37 template <
typename Object>
43 template <
typename Object>
44 static Object*&
next(Object* o)
49 template <
typename Object>
50 static Object*&
prev(Object* o)
56 template <
typename Object>
71 destroy_list(live_list_);
72 destroy_list(free_list_);
84 Object* o = free_list_;
88 o = object_pool_access::create<Object>();
124 void destroy_list(Object* list)
146 #endif // ASIO_DETAIL_OBJECT_POOL_HPP static void destroy(Object *o)
static Object *& next(Object *o)
static Object *& prev(Object *o)