Search

November 20, 2011
General »
...Can we please not use the term RAII? First, only C++ people know what it...
November 20, 2011
General »
...of others."

Suggestion: Make RAII in the text a link to RAII on wikipedia. Also...
November 05, 2011
General »
...to use RefCounted on a struct for RAII e.g:

struct Resource {
   ~this() {
       close(fd...
October 10, 2011
General »
...as well, and that // should handle the RAII aspects of connections. Handle is an // alias...
October 07, 2011
General »
...Would scope(exit) be sufficient to provide RAII functionality here?


Absolutely, though things may be...
October 07, 2011
General »
...a precious resource, there must be a RAII struct holding them. The functions below may...
September 09, 2011
General »
...wrote:
I don't suggest to drop RAII at all. It is totally needed and...
September 09, 2011
General »
Usually you want RAII. So that should be the simpler thing to have, not the...
September 09, 2011
General »
...it possible to enclose it in a RAII struct, or it could be allowed to...
September 09, 2011
General »
...diffs when I edited Phobos modules.

But RAII makes things simple and relatively safe.  What...
77 78 79 80 81 82 83 84 85 86 87 88
Next ›   Last »