template <typename T>

struct AlignedAllocatorTraits

Defined at line 54 of file ../../zircon/system/ulib/fbl/include/fbl/vector.h

Public Methods

bool NeedsCustomAlignment ()

Defined at line 55 of file ../../zircon/system/ulib/fbl/include/fbl/vector.h

void * Allocate (size_t size)

Allocate receives a request for "size" contiguous bytes.

size will always be greater than zero.

The return value must be "nullptr" on error, or a non-null

pointer on success. This same pointer may later be passed

to deallocate when resizing.

Defined at line 63 of file ../../zircon/system/ulib/fbl/include/fbl/vector.h

void * Allocate (size_t size)

Allocate receives a request for "size" contiguous bytes.

size will always be greater than zero.

The return value must be "nullptr" on error, or a non-null

pointer on success. This same pointer may later be passed

to deallocate when resizing.

Defined at line 63 of file ../../zircon/system/ulib/fbl/include/fbl/vector.h

void * Allocate (size_t size)

Allocate receives a request for "size" contiguous bytes.

size will always be greater than zero.

The return value must be "nullptr" on error, or a non-null

pointer on success. This same pointer may later be passed

to deallocate when resizing.

Defined at line 63 of file ../../zircon/system/ulib/fbl/include/fbl/vector.h

void Deallocate (void * object)

Deallocate receives a pointer to an object which is

1) Either a pointer provided by Allocate, or

2) nullptr.

If the pointer is not null, deallocate must free

the underlying memory used by the object.

Defined at line 80 of file ../../zircon/system/ulib/fbl/include/fbl/vector.h