mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Friends
m::wasm::GarbageCollectedData Struct Reference

Helper struct for garbage collection done by the Module. More...

#include <WasmDSL.hpp>

Public Member Functions

 GarbageCollectedData (GarbageCollectedData &&)=default
 
virtual ~GarbageCollectedData ()
 

Private Member Functions

 GarbageCollectedData ()=default
 

Friends

struct Module
 

Detailed Description

Helper struct for garbage collection done by the Module.

Inherit from this struct, provide a ctor expecting aGarbageCollectedData&&` instance, and register the created struct in the module to garbage collect it automatically when the module is destroyed.

Definition at line 602 of file WasmDSL.hpp.

Constructor & Destructor Documentation

◆ GarbageCollectedData() [1/2]

m::wasm::GarbageCollectedData::GarbageCollectedData ( )
privatedefault

◆ GarbageCollectedData() [2/2]

m::wasm::GarbageCollectedData::GarbageCollectedData ( GarbageCollectedData &&  )
default

◆ ~GarbageCollectedData()

virtual m::wasm::GarbageCollectedData::~GarbageCollectedData ( )
inlinevirtual

Definition at line 612 of file WasmDSL.hpp.

Friends And Related Function Documentation

◆ Module

friend struct Module
friend

Definition at line 604 of file WasmDSL.hpp.


The documentation for this struct was generated from the following file: