Inheritance diagram for core_allocator:

Puts the Standard C++ Allocator interface on Core Foundation allocators.
This lets you use CF allocators to allocate memory for STL containers and C++ objects. Wrappers of distinct CF allocators are distinct instances themselves.
| T | The allocated type. |
Public Types | |
|
typedef impl::allocator_base< T > | base |
| The base type. | |
Public Member Functions | |
| base::pointer | allocate (typename base::size_type n, typename core_allocator< void >::const_pointer=0) |
| Allocates n objects. | |
| template<class T2> | |
| core_allocator (const core_allocator< T2 > &other) | |
| Copies the allocator other. | |
| core_allocator (CFAllocatorRef alloc=kCFAllocatorDefault) | |
| Constructs with allocator alloc. | |
| CFAllocatorRef | data () const |
| Gets the allocator. | |
| void | deallocate (typename base::pointer ptr, typename base::size_type) |
| Deallocates objects at address ptr. | |
Friends | |
| bool | operator!= (const core_allocator &left, const core_allocator &right) |
| Tests whether left and right are different allocators. | |
| bool | operator== (const core_allocator &left, const core_allocator &right) |
| Tests whether left and right are the same allocator. | |
Classes | |
| struct | rebind |
| Rebinder for core allocator. More... | |