November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
Yes. Yes. That's right. It isn't much different from the C++ code: MyClass... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
What's wrong with static and const together? One says this is actually store with... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
It is definitely a bit weird. I would like to see all combinations of these... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
Oh, so you can just do:
auto const static x = 5;
Could be worse, I... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
That does not work: scopetest.d(29): redundant storage class 'const' scopetest.d(29): redundant... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
I think this works everywhere, as you're free to chain storage classes to your... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
On Mon, 13 Nov 2006 21:17:32 +0200, Bill Baxter <wbaxter@gmail.com> wrote... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
...fuzzy on whether anything was decided for RAII. Most folks seem to dislike the original... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
Another argument for using 'auto' for ATI can be making it consistent with how it... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
I too think the (future) C++ use of 'auto' for type inference cinches it. At... | |||
Copyright © 1999-2021 by the D Language Foundation