newCTFE report July
Ali Çehreli
acehreli at yahoo.com
Wed Jul 18 20:18:49 UTC 2018
On 07/18/2018 11:28 AM, Stefan Koch wrote:
> 2. there was the problem of the IndexExp being unaware of being inside
> an AddrExp which would cause it to first evaluate four[0] to 1, and then
> trying to take the address of literal one (which is zero as the marker
> for an invalid address).
Without knowing much about the compiler, could that be solved by
changing four[0] to a reference expression? Is there even such a concept
in the compiler? How does the non-CTFE compilation deal with that case?
Ali
More information about the Digitalmars-d
mailing list