July 28, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
...not imply RAII. One example I can think of that would break RAII is if... | |||
July 28, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
Sounds reasonable to me, and potentially quite useful (even if often primarily for self-documenting... | |||
July 28, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
Someone noted that x = SomeName(); is confusing, since it doesn't convey whether a class... | |||
July 28, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
Actually yes. I find it to be clearer than just static x. I agree on... | |||
July 28, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
They're normally in trivial one-line functions. No, the idea is *not* to have... | |||
July 28, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
I guess there are regular "var" users then but when I said "programmers" I was... | |||
July 27, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
Nils Hensel wrote: Agreed ( it's also one letter shorter :-) ) -- AKhropov | |||
July 27, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
kris wrote: Agreed. I also don't think 'missing new' proposal is good. Looks ok... | |||
July 27, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
Ok. Exactly. I never suggested otherwise :) Example? Have you read my other post? Are you... | |||
July 27, 2006 General » Re: auto, var, raii,scope, banana | |||
|---|---|---|---|
| |||
Maybe we could decide that based on the keyword's placement:
class C {
int m... | |||
Copyright © 1999-2021 by the D Language Foundation