August 01, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
...if the suggested RAII syntax was:
class A {}
A a; //allocate RAII class
then the... | |||
July 29, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
Uh, scopes and stack "frames" do not exist only for function frames. They exist for... | |||
July 29, 2006 General » Re: auto, var, raii,scope, banana (jk) | |||
|---|---|---|---|
| |||
No!! I often use banana as an identifier in many of my programs! :P -- Bruno... | |||
July 29, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
Are you saying it is intuitive because *it is the same syntax as C++* ?? I... | |||
July 29, 2006 General » Re: auto, var, raii,scope, banana | "def" for autotype | |||
|---|---|---|---|
| |||
...favored the following keyword proposals: "auto" -> for RAII (autoraii or raiiauto) "var" -> for implicit type... | |||
July 29, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
I don't like the no-allocator-keyword proposal. There are the problems: * the lack... | |||
July 29, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
...about it until you go looking for RAII. There you'll find the syntax, learn... | |||
July 28, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
So long as the storage class is required, I'm all for it. This seems... | |||
July 28, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
kris wrote: Yes, that's an essential flaw in this proposal. Another one was mentioned... | |||
July 28, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
...however, the variable is then also scoped/raii/auto/banana, so there's not much... | |||
Copyright © 1999-2021 by the D Language Foundation