On 17/02/2018 12:33 PM, Nordlöw wrote:
I'm struggling with makinghttps://github.com/nordlow/phobos-next/blob/master/src/pure_mallocator.d callable in pure functions such as herehttps://github.com/nordlow/phobos-next/blob/master/src/pure_mallocator.d#L84Shouldn't a shared static shared PureMallocator instance; make it possible to call PureMallocator.instance.allocate(16); in pure functions?
pure means no globals. As in none :)