PoolingAllocator.h
Go to the documentation of this file.
25 value_type *allocate(std::size_t n) { return static_cast<value_type*>(memAllocBuf(n*sizeof(value_type), nullptr)); }
26 void deallocate(value_type *vp, std::size_t n) noexcept { memFreeBuf(n*sizeof(value_type), vp); }
bool operator==(const PoolingAllocator< L > &, const PoolingAllocator< R > &) noexcept
Definition: PoolingAllocator.h:39
Definition: PoolingAllocator.h:29
PoolingAllocator(const PoolingAllocator< Other > &) noexcept
Definition: PoolingAllocator.h:24
PoolingAllocator< OtherValue > other
Definition: PoolingAllocator.h:30
STL Allocator that uses Squid memory pools for memory management.
Definition: PoolingAllocator.h:18
bool operator!=(const PoolingAllocator< L > &l, const PoolingAllocator< R > &r) noexcept
Definition: PoolingAllocator.h:46
void deallocate(value_type *vp, std::size_t n) noexcept
Definition: PoolingAllocator.h:26
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