Allocates aligned storage for count objects of type T.

Synopsis

Declared in <folly/memory/Allocator.h>

T*
allocate(size_t count);

Return Value

A pointer to the allocated storage.

Parameters

Name

Description

count

The number of objects to allocate storage for.

Created with MrDocs