On 5/4/14, Marco Leise via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > Would that affect all arrays, only arrays containing structs > or only affect arrays containing structs with dtors? > > printf("hello\n".ptr); > > should still work after all. >
That should work independent of what the GC decides to do, as it should be getting emitted as a literal pointer to "hello\n" in the RO data-segment.