November 09, 2016 [Issue 16674] New: Clarify lifetime of pointer to AA entry | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16674 Issue ID: 16674 Summary: Clarify lifetime of pointer to AA entry Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dlang.org Assignee: nobody@puremagic.com Reporter: shachar@shemesh.biz SomeType[SomeOtherType] aa; ... SomeType* aap = aKey in aa; The lifetime of aap needs to be clarified. In particular with respect to: * Removal of aKey from the aa * Removal of another element from the aa * Addition of another element to the aa * Modification of an existing element in the aa with "aa[key] = something" * Modification of this element in the aa with "aa[aKey] = something". -- |
Copyright © 1999-2021 by the D Language Foundation