litert:: Newlocator
#include <litert_buffer_ref.h>
A memory allocator based on new and delete.
Summary
| Details | |||
|---|---|---|---|
| Template Parameters |
|
Public functions |
|
|---|---|
operator()(ByteT *d)
|
void
Deletes the given array.
|
operator()(size_t bytes)
|
ByteT *
Allocates an array of the specified size.
|
Public functions
operator()
void litert::Newlocator::operator()( ByteT *d )
Deletes the given array.
operator()
ByteT * litert::Newlocator::operator()( size_t bytes )
Allocates an array of the specified size.
| Details | |||
|---|---|---|---|
| Parameters |
|
||
| Returns |
A pointer to the allocated array.
|