Why is GC.collect `pure`

Nick Treleaven nick at geany.org
Wed Aug 2 17:55:12 UTC 2023


On Wednesday, 2 August 2023 at 17:52:00 UTC, Nick Treleaven wrote:
> Now I'm wondering why those functions are marked `pure` - they 
> must affect the GC's bookkeeping state.

Here's the pull that added it:
https://github.com/dlang/druntime/pull/3561


More information about the Digitalmars-d-learn mailing list