template <typename T, typename Allocator = DefaultAllocator>

struct Deletable

Defined at line 182 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h

Mixin type that provides a delete operator that returns the deleted object to

the object cache it was allocated from.

Example usage:

class Foo : public object_cache::Deletable

<Foo

> { ... };

Public Methods

void operator delete (void * object, size_t size)

Defined at line 183 of file ../../zircon/kernel/lib/object_cache/include/lib/object_cache.h