[cfe-dev] (Request for comments) Implicit cast kind for initialization of references.

Abramo Bagnara abramo.bagnara at gmail.com
Mon Oct 24 10:56:30 PDT 2011


Il 24/10/2011 19:47, Ahmed Charles ha scritto:
> a[i] becomes *(a+i), which dereferences the address, i.e. undefined
> behavior, in your case.

Not without an lvalue to rvalue conversion.



More information about the cfe-dev mailing list