D's Destructors are What Scott Meyers Warned Us About
Paul Backus
snarwin at gmail.com
Wed May 23 19:28:28 UTC 2018
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
More information about the Digitalmars-d
mailing list