February 26, 2006 General » Re: DMD 0.148 - scope guard | |||
|---|---|---|---|
| |||
...make it into D. It certainly beats the heck out of the RAII approach. Sean | |||
February 24, 2006 General » Re: Auto syntax revisited | |||
|---|---|---|---|
| |||
...auto-RAII might make it work without keyword), I wish for: auto for auto-RAII... | |||
February 21, 2006 General » Re: Auto syntax REALLY revisited | |||
|---|---|---|---|
| |||
...impose a new one - but if a RAII ref is being assigned from the result... | |||
February 21, 2006 General » Re: Auto syntax REALLY revisited | |||
|---|---|---|---|
| |||
...would I think be possible to allow RAII classes to be created on the heap... | |||
February 21, 2006 General » Re: Auto syntax REALLY revisited | |||
|---|---|---|---|
| |||
...you mean RAII, it's probably less confusing to the reader to say RAII, however... | |||
February 21, 2006 General » Re: Auto syntax revisited | |||
|---|---|---|---|
| |||
...at first sight, keeping track of RR (RAII) here might look like a lot of... | |||
February 21, 2006 General » Re: Auto syntax revisited | |||
|---|---|---|---|
| |||
...could, since then the meaning of 'auto' would only mean auto-typing and not RAII. | |||
February 19, 2006 General » Re: stack vs. heap alloc syntax | |||
|---|---|---|---|
| |||
The 'auto' attribute performs both RAII and type-inference. So `auto Class x = new Class... | |||
February 18, 2006 General » Re: stack vs. heap alloc syntax | |||
|---|---|---|---|
| |||
...RAII-auto objects _can't_ have destructors; that would defeat their whole purpose. But RAII... | |||
February 18, 2006 General » Re: stack vs. heap alloc syntax | |||
|---|---|---|---|
| |||
...D in any detail; I'm talking about the old limited-RAII attribute.) cheers, Mike | |||
Copyright © 1999-2021 by the D Language Foundation