Re: What can be done with copy constructors / post blits

2013-03-01 Thread Johannes Pfau
Am Fri, 01 Mar 2013 15:09:11 +0100 schrieb "monarch_dodra" : > On Friday, 1 March 2013 at 13:59:08 UTC, Johannes Pfau wrote: > > When trying to implement non-POD types for gdc some time ago I > > asked on > > the dmd mailing list what the backend is actually supposed to > > do for > > non-POD ty

Re: What can be done with copy constructors / post blits

2013-03-01 Thread monarch_dodra
On Friday, 1 March 2013 at 13:59:08 UTC, Johannes Pfau wrote: When trying to implement non-POD types for gdc some time ago I asked on the dmd mailing list what the backend is actually supposed to do for non-POD types. Walter answered that they should never be passed in registers:

What can be done with copy constructors / post blits

2013-03-01 Thread Johannes Pfau
When trying to implement non-POD types for gdc some time ago I asked on the dmd mailing list what the backend is actually supposed to do for non-POD types. Walter answered that they should never be passed in registers: -- > Wouldn't it be legal to still pass non-PODs in reg