http://d.puremagic.com/issues/show_bug.cgi?id=9498



--- Comment #3 from Maxim Fomin <[email protected]> 2013-06-29 21:59:13 PDT 
---
(In reply to comment #2)
> Note the ref return from getValue, which makes 'myValues[v]' an lvalue.  It
> could still be invalid, but not for the reasons stated.

This is irrelevant. The fact that function returns by ref indicates that value
should not be copied but returned by ref. If "myValue" was present that would
mean that pointer to the string is returned. Irrespective of how value is
returned, myValues[v] is invalid value here.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to