July 26, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
...from the class to provide it). When RAII is involved, it can choose which version... | |||
July 26, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
You miss-understand. I don't want stack allocation at all. I'm saying 2... | |||
July 26, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
I vote for banana! or scope.. seems good to reuse it; without parentheses after scope... | |||
July 26, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
I disagree. If you want the compiler to be able to optimize by using stack... | |||
July 25, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
...to allow the compiler to allocate an RAII type in any way it wants, perhaps... | |||
July 25, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
I don't use "var" specifically but I have been known to use tmp, x... | |||
July 25, 2006 General » Re: Is D 0.163 D 1.0? | |||
|---|---|---|---|
| |||
...confusion with raii that's the issue, yes? I suspect the ratio of raii usage... | |||
July 25, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
...somewhat confused (with raii). If we instead use "scope" to indicate raii, that confusion just... | |||
July 25, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
I'm sorry but I don't believe there are many programmers out there actually... | |||
July 25, 2006 General » auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
...you could count the current number of raii-class uses on a few hands, whereas... | |||
Copyright © 1999-2021 by the D Language Foundation