Search

March 30, 2018
Learn »
...before). So it's kind of like RAII (or maybe exactly like).

What I'm...
March 29, 2018
General »
...else is missing for D to achieve RAII as in C++ ?
And is deterministic destruction...
March 29, 2018
Learn »
OK, thanks.
March 29, 2018
Learn »
You'll have to do it all the way up (unless you can use a...
March 29, 2018
Learn »
...first hurdle but I still cannot use RAII with struct member vars. E.g.

---
struct...
March 29, 2018
General »
This is deterministic destruction and not RAII. Resource is never *acquired* here. Lack of default...
March 27, 2018
General »
that comment was regarding -betterC
RAII (with structs) has been available in D for a...
March 27, 2018
General »
How is RAII available in D? I did a quick search on this forum but...
March 27, 2018
Learn »
Perfect, thanks.
March 27, 2018
Learn »
I'd also add `@disable this();` and then a `static O make() { return O(theAllocator...
17 18 19 20 21 22 23 24 25 26 27 28
Next ›   Last »