On Wednesday, 23 May 2018 at 19:28:28 UTC, Paul Backus wrote:
On Wednesday, 23 May 2018 at 01:59:50 UTC, sarn wrote:
The one other usage of these low-level destructor facilities is checking if a type is a plain old data struct. This is an important special case for some code, but everyone seems to do the check a different way. Maybe a special isPod trait is needed.

There's this:

https://dlang.org/spec/traits.html#isPOD

Damn, that's exactly what I wanted; I don't know how I missed it.

I guess that's why it's good to bounce ideas off others.

Reply via email to