= new Foo; does not allocate on stack if Foo has
allocator
https://github.com/D-Programming-Language/dmd/commit/9ba3bf09acb5d0133998781c506347f482497c0c
Merge pull request #3968 from yebblies/issue3022
--
https://issues.dlang.org/show_bug.cgi?id=3022
Kenji Hara changed:
What|Removed |Added
Keywords||pull
Hardware|x86
https://issues.dlang.org/show_bug.cgi?id=3022
yebblies changed:
What|Removed |Added
CC||yebbl...@gmail.com
Assignee|bugzi...@dig
= new Foo; does not allocate on stack if Foo has
allocator
If new only has one argument, then it must be the size.
https://github.com/D-Programming-Language/dmd/commit/9ba3bf09acb5d0133998781c506347f482497c0c
Merge pull request #3968 from yebblies/issue3022
Issue 3022 - scope x = new Foo; does not