Function gcRegistered

Wrap up container into gc registering container.

auto auto gcRegistered(T) (
  auto ref T container
);

Wrap up container into gc registering container, that will automatically register all created components by it into garbage collector for proper scanning.

Parameters

NameDescription
container container to decorate with gc component registration.

Returns

GcRegisteringContainer!T