betterC: new operator

rikki cattermole rikki at cattermole.co.nz
Sun Nov 22 12:11:39 UTC 2020


On 23/11/2020 12:57 AM, Dennis wrote:
> Check out:
> https://p0nce.github.io/d-idioms/#Placement-new-with-emplace

The question was about -betterC.

This won't work, it depends on TypeInfo.

https://github.com/dlang/phobos/blob/master/std/conv.d#L5197


More information about the Digitalmars-d mailing list