View source code Display the source code in core/memory.d from which this page was generated on github. 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. Page wiki View or edit the community-maintained wiki page associated with this page.

Enum core.memory.GC.BlkAttr

Elements for a bit field representing memory block attributes. These are manipulated via the getAttr, setAttr, clrAttr functions.

The enum base type is uint .

Enum members

Name Description
APPENDABLE This block contains the info to allow appending.
FINALIZE Finalize the data in this block on collect.
NONE No attributes set.
NO_INTERIOR This block is guaranteed to have a pointer to its base while it is alive. Interior pointers can be safely ignored. This attribute is useful for eliminating false pointers in very large data structures and is only implemented for data structures at least a page in size.
NO_MOVE Do not move this memory block on collect.
NO_SCAN Do not scan through this block on collect.

Authors

Sean Kelly, Alex Rønne Petersen

License

Boost License 1.0

Comments