Search

February 02, 2017
Issues »
...a likely bug.

I use the following RAII idiom:

  with(someLock.acquired()) {
    ..
  }

But get no...
February 01, 2017
Learn »
...a static factory as well => no real RAII.

It's not that bad. D just...
February 01, 2017
Learn »
...You can't even call what's going on with structs RAII at this point.



February 01, 2017
Learn »
...any leaks. Ideally I'd have a precise GC + RAII style resource management when needed.
January 30, 2017
General »
...the main obstacles for mixed D/C++ RAII-style code are:

1) Constructors don't...
January 10, 2017
Learn »
...idk how yet, that RealTimeConsoleInput thing uses RAII to change terminal state so it cannot...
January 06, 2017
Learn »
...heap-allocated data, such as C++'s RAII idiom.  I haven't really tried that...
November 29, 2016
General »
...too right? Someone tried a wrapper using RAII to emulate partially (except for weak references...
November 04, 2016
Learn »
...use sprintf + zero-terminated strings (or a RAII struct to convert slices to ZT strings).
October 31, 2016
Learn »
...really annoying. It can be faked via RAII and static variables, but in general, using...
33 34 35 36 37 38 39 40 41 42 43 44
Next ›   Last »