Frits van Bommel <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #6 from Frits van Bommel <>  2009-06-17 12:53:34 PDT 
(In reply to comment #5)
> Oh I see.  If the array is empty then &m_tls[0] will cause a RangeError.  I
> forget that DMD considers taking the address of an array element a
> dereferencing operation.

It's not the address-taking that is a dereference, it's the indexing
(regardless of whether the address of the result is taken). :)

(and if you didn't know, why didn't you use "&t.m_tls[$]" instead of
"&t.m_tls[0] + t.m_tls.length"?)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to