On Monday, 30 August 2021 at 16:51:12 UTC, Ali Çehreli wrote:
In this case, converting your ~this to a named function solves
the issue:
// Was: ~this()
void close() {
// ...
}
// ...
auto gp = new Gnuplot();
scope (exit) {
gp.close();
}
Ali
Ali
Ali, Yet again, you have helped me. Thanks for the keen eye and clear description of what was happening.I am enjoying this language **very** much, and the community has been incredibly
helpful to my progress. Best Regards, James
