On Wednesday, 16 September 2015 at 16:24:49 UTC, Idan Arye wrote: > No need for `reinterpret_cast`. The `close` function is > declared in the same module as the `File` struct, so it has > access to it's private d'tor. True, so it might work for D. Interesting.