asmjit::ZoneTmp< N > Class Template Reference

template<size_t N>
class asmjit::ZoneTmp< N >

Zone with N bytes of a static storage, used for the initial block.

Temporary zones are used in cases where it's known that some memory will be required, but in many cases it won't exceed N bytes, so the whole operation can be performed without a dynamic memory allocation.

Public Members

Classes

Member Functions

- Public Member Functions inherited from asmjit::Zone

Constructor & Destructor Documentation

template<size_t N>
ZoneTmp<N>:: ZoneTmp(size_t blockSize, size_t blockAlignment = 1)explicitnoexcept

Creates a temporary zone. Dynamic block size is specified by blockSize.