template<typename T>
allocator struct
Allocator which supports using mem_alloc
and mem_free
from lwip. It can be used in combination with e.g. buffer to control from which heap data is allocated.
Note that when the preprocessor symbol AES70_LWIP_USE_MEM_MALLOC
is not defined, this allocator will use standard malloc
and free
.