digitalmars.D - Is the following code legal?
- Shachar Shemesh (5/5) Nov 08 2016 SomeStruct[int] aa;
- Shachar Shemesh (3/8) Nov 08 2016 That last line is, of course: "writeln(*aap);"
- Steven Schveighoffer (6/11) Nov 08 2016 It currently will work. At some point in the past, this did NOT work, as...
- Kagamin (1/1) Nov 08 2016 no
- Shachar Shemesh (3/4) Nov 08 2016 Is this officially declared in the policy? Should I open an issue?
- Stefan Koch (3/8) Nov 08 2016 Please open an issue.
- Shachar Shemesh (3/11) Nov 08 2016 Ask and thy shall receive.
SomeStruct[int] aa; ... SomeStruct* aap = v in aa; aa.remove(v); writeln(aap);
Nov 08 2016
On 08/11/16 14:58, Shachar Shemesh wrote:SomeStruct[int] aa; ... SomeStruct* aap = v in aa; aa.remove(v); writeln(aap);That last line is, of course: "writeln(*aap);" Shachar
Nov 08 2016
On 11/8/16 7:58 AM, Shachar Shemesh wrote:SomeStruct[int] aa; .... SomeStruct* aap = v in aa; aa.remove(v); writeln(aap);It currently will work. At some point in the past, this did NOT work, as we were proactively freeing the data. I don't know if the policy is that this is officially supported or not. Hence, I don't know the answer to the question "is it legal". -Steve
Nov 08 2016
On 08/11/16 17:41, Kagamin wrote:noIs this officially declared in the policy? Should I open an issue? Shachar
Nov 08 2016
On Wednesday, 9 November 2016 at 05:00:28 UTC, Shachar Shemesh wrote:On 08/11/16 17:41, Kagamin wrote:Please open an issue.noIs this officially declared in the policy? Should I open an issue? Shachar
Nov 08 2016
On 09/11/16 07:02, Stefan Koch wrote:On Wednesday, 9 November 2016 at 05:00:28 UTC, Shachar Shemesh wrote:Ask and thy shall receive. https://issues.dlang.org/show_bug.cgi?id=16674On 08/11/16 17:41, Kagamin wrote:Please open an issue.noIs this officially declared in the policy? Should I open an issue? Shachar
Nov 08 2016