On Thursday, April 12, 2012 20:00:33 Andrej Mitrovic wrote: > On 4/12/12, Jonathan M Davis <[email protected]> wrote: > > Which I would have expected to be illegal, but for some bizarre reason, > > the > > compiler allows it. > > > > http://d.puremagic.com/issues/show_bug.cgi?id=7854 > > Without that ability, or without the ability to use pointers to > references (which currently works), writing wrapper code to C/C++ > libraries is going to be difficult.
Why do you need more than just normal pointers? Because of this proposal making taking the address of a ref illegal? If anything, I think that the need to be able to pass the address of refs to C functions is a good example of why @system code should still be able to take the address of refs. - Jonathan M Davis _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
