View source code
Display the source code in gc/registry.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Alias gc.registry.GCFactory

A factory function that instantiates an implementation of the GC interface. In case the instance was allocated on the C heap, it is supposed to free itself upon calling it's destructor.

alias GCFactory = gc.gcinterface.GC function();

The factory should print an error and abort the program if it cannot successfully initialize the GC instance.

Authors

Martin Nowak

License

Boost License 1.0.