allocator_base::_Charalloc

Allocates storage for an array of type char.

char *_Charalloc(size_type _Count);

Parameters

Parameter

Description

_Count

The number of elements in the array to be allocated.

Return Value

A pointer to the allocated object.

Remarks

This member function is used by containers when compiled with a compiler that cannot compile rebind. It implements _Charalloc for the user-defined allocator by returning the result of a call to the allocate function of the synchronization filter.

Requirements

Header: <allocators>

Namespace: stdext

See Also

Reference

allocator_base Class