November 12, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
I hope you don't mind a comment from a lurker. :) I had assumed that... | |||
November 12, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
I realize 'auto' is technically the default storage class, but was suggesting when both a... | |||
November 12, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
I think it's okay to "have a word" for "infer the type". Think about... | |||
November 12, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
C# was designed by a Anders Hjelsberg, who wrote Pascal compilers and designed Delphi. | |||
November 12, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
I think the auto/scope is probably the best idea. I'm a bit surprised... | |||
November 12, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
...modern C family languages ) , and 'scope' for RAII. > 5) auto c = Class(); Oh the horror... | |||
November 12, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
These are big things, no denying it. Good point. "let" is a lot worse than... | |||
November 12, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
...Agreed. Yes is is, which is why RAII semantics need to be nailed down before... | |||
November 12, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
...RAII 2a) auto Class c = new Class(); //RAII 3a) auto c = some_expression(); //non-RAII... | |||
November 12, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
...places the variable on the stack. For RAII to apply, the behavior of class references... | |||
Copyright © 1999-2021 by the D Language Foundation