fidl::AnyArena


This is an abstract class.

Summary

Inheritance

Direct Known Subclasses:fdf::Arena, fidl::ArenaBase

Public functions

Allocate(Args &&... args)
T *
AllocateVector(size_t count)
T *

Protected functions

Allocate(size_t item_size, size_t count, void(*)(uint8_t *data, size_t count) destructor_function)=0
virtual uint8_t *
AnyArena()=default
~AnyArena()=default
virtual

Public functions

Allocate

T * Allocate(
  Args &&... args
)

AllocateVector

T * AllocateVector(
  size_t count
)

Protected functions

Allocate

virtual uint8_t * Allocate(
  size_t item_size,
  size_t count,
  void(*)(uint8_t *data, size_t count) destructor_function
)=0

AnyArena

 AnyArena()=default

~AnyArena

virtual  ~AnyArena()=default