Re:The reference D compiler is now open source
by dbaupp on Friday April 07, 2017 @06:50PM
(#14064056)
Yes, you can explicitly call drop ( https://doc.rust-lang.org/std/mem/fn.drop.html ) in Rust, which just uses move semantics to force it out of scope. A similar function could be implemented in C++, and called like drop(std::move(value)).
[ Parent
| on HN ]
There are no comments on this comment yet.