How to turn this C++ into D?
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Nov 5 10:12:09 PST 2014
On Wednesday, 5 November 2014 at 18:10:38 UTC, Ali Çehreli wrote:
> If so, then that push_back would be adding an incomplete object
> to the list.
scope(success)?
But the D translation worries me too because the destructor won't
run at the same time as the C++ version, unless you make it a
scope class or something.
More information about the Digitalmars-d-learn
mailing list