Extra .tupleof field in structs with disabled postblit blocks non-GC-allocation trait
Per Nordlöw
per.nordlow at gmail.com
Wed May 9 14:34:02 UTC 2018
On Wednesday, 9 May 2018 at 14:20:41 UTC, Per Nordlöw wrote:
> If so, we can temporarily modify the trait to exclude the last
> `void*` member of the `S.tuple`. Given that it's always added
> as the last member.
Also note that
pragma(msg, __traits(isDisabled, S.this(this)));
fails to compile as
Error: identifier expected following `.`, not `this`
More information about the Digitalmars-d-learn
mailing list