November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
...out how to grep for instances of RAII and/or TI using this proposed syntax... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
I'm going to chime in with the people who don't like (5). I... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
Actually that's not so bizzare at all, because "new" already accepts parameters. http://digitalmars... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
I think scoped int a = expr; should be ok. Allowing that enables you to treat... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
...auto' remain as it is except for RAII. RAII only makes sense for classes and... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
That will have some affect on this:
int (a) = 3;
writefln(a);
int (exit) = 9... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
I realized 'scope' is already a keyword. I think that's why people are gravitating... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
Yeh, I suppose. On the other hand my specification of a type is a kind... | |||
November 13, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
...make it obvious that it's a RAII class instance, either use a different keyword... | |||
November 12, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
That doesn't look particularly consistent to me. In one case you have int vs... | |||
Copyright © 1999-2021 by the D Language Foundation