March 01, 2006 General » Re: Negative | |||
|---|---|---|---|
| |||
...that you are thinking about how to remove 'auto'/RAII, right? Andrew. http://terrainformatica.com | |||
February 28, 2006 General » Re: Negative | |||
|---|---|---|---|
| |||
...meaningful than the backflips often required by RAII. And while the proposed C++ shared_ptr... | |||
February 28, 2006 General » Re: if(;){} opinion | |||
|---|---|---|---|
| |||
...exit? And if so, how do I auto-type objects without the RAII functionality? Sean | |||
February 28, 2006 General » Re: Negative | |||
|---|---|---|---|
| |||
...it? See Walter's reply. Not necessarily. RAII and finally could be seen as "similar... | |||
February 28, 2006 General » Re: DMD 0.148 - scope guard | |||
|---|---|---|---|
| |||
...implementation of ScopeGuard. Compared to ctor/dtor RAII, though, it still has the same problem... | |||
February 28, 2006 General » Re: if(;){} opinion | |||
|---|---|---|---|
| |||
...more serious note, I think auto for RAII makes some sense. After all, the original... | |||
February 28, 2006 General » Re: if(;){} opinion | |||
|---|---|---|---|
| |||
...auto for RAII is not even barely bearable. We could even use "raii" rather than... | |||
February 27, 2006 General » Re: DMD 0.148 - scope guard | |||
|---|---|---|---|
| |||
...e. it is the same thing as RAII. It doesn't allow arbitrary code to... | |||
February 27, 2006 General » Re: if(;){} opinion | |||
|---|---|---|---|
| |||
...var" to "auto", but then again the RAII "auto" could use a rename too) L. | |||
February 26, 2006 General » Re: if(;){} opinion | |||
|---|---|---|---|
| |||
...bar) { }
baz(auto Foo f = new Foo); // RAII, f being destructed when baz() returns.
etc
| |||
Copyright © 1999-2021 by the D Language Foundation