Search

March 01, 2006
General »
...that you are thinking about how to remove 'auto'/RAII, right?

Andrew.
http://terrainformatica.com







February 28, 2006
General »
...meaningful than the backflips often required by RAII.  And while the proposed C++ shared_ptr...
February 28, 2006
General »
...exit? And if so, how do I auto-type objects without the RAII functionality?


Sean
February 28, 2006
General »
...it?

See Walter's reply.

Not necessarily. RAII and finally could be seen as "similar...
February 28, 2006
General »
...implementation of ScopeGuard. Compared to ctor/dtor RAII, though, it still has the same problem...
February 28, 2006
General »
...more serious note, I think auto for RAII makes some sense.  After all, the original...
February 28, 2006
General »
...auto for RAII is not even barely bearable. We could even use "raii" rather than...
February 27, 2006
General »
...e. it is the same thing as RAII. It doesn't allow arbitrary code to...
February 27, 2006
General »
...var" to "auto", but then again the RAII "auto" could use a rename too)

L.

February 26, 2006
General »
...bar) { }
   baz(auto Foo f = new Foo); // RAII, f being destructed when baz() returns.
etc
141 142 143 144 145 146 147 148 149 150 151
Next ›   Last »