September 07, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
On Thu, 07 Sep 2006 02:44:43 +0300, Garett Bass <garettbass@studiotekne.com> wrote... | |||
September 07, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
This is cool in theory but I have yet to actually use this feature. I... | |||
September 07, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
No. The advantage of auto is that you can enforce this behaviour at the class... | |||
September 07, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
...auto' keyword is *not* used to implement RAII.) Because D doesn't work that way... | |||
September 07, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
Why? It's implicit in C style programming languages that things disappear when they go... | |||
September 06, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
I'd like to note some problems that all of these approaches face. Jarrett's... | |||
September 06, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
I wasn't aware of that, pretty cool! In this case, perhaps do away with... | |||
September 06, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
Agreed, this overload of the meaning of 'auto' has made me uncomfortable since it was... | |||
September 06, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
Auto/auto will be ridiculed by those never aiming to switch to D. It will... | |||
September 06, 2006 General » Re: Walter: Before you go and implement the new RAII syntax.. | |||
|---|---|---|---|
| |||
+1 :) I'm terrified of 'auto auto' making it into 1.0; it just -screams... | |||
Copyright © 1999-2021 by the D Language Foundation