Extra .tupleof field in structs with disabled postblit blocks non-GC-allocation trait

Johan Engelen j at j.nl
Fri May 11 10:26:12 UTC 2018


On Thursday, 10 May 2018 at 19:14:39 UTC, Meta wrote:
>
> So it looks like disabling a struct's postblit actually counts 
> as having a __postblit and __xpostblit function (don't ask me 
> why), in addition to a construction and opAssign... no idea 
> why, and maybe this is a bug, but I bet there's a good reason 
> for it.

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

-Johan



More information about the Digitalmars-d-learn mailing list