[Issue 17564] std.experimental.allocator.theAllocator is null within shared static this

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 29 06:23:12 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17564

--- Comment #1 from github-bugzilla at puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/4a5d2b3b189f072e9bd0b1779a7d585e3945921b
Fix issue 17564: Eliminate "static this" for theAllocator

This switches to lazy initialization of theAllocator, so that accessing it form
within `shared static this` works as expected.

https://github.com/dlang/phobos/commit/2e0a49cd397ea1bdb993e3a9271193cf6051b8ce
Merge pull request #5519 from s-ludwig/lazy_the_allocator

Issue 17564: Eliminate "static this" for theAllocator
merged-on-behalf-of: Martin Nowak <code at dawg.eu>

--


More information about the Digitalmars-d-bugs mailing list