pass a struct by value/ref and size of the struct

Johan Engelen via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 22 05:38:13 PDT 2016


On Tuesday, 22 March 2016 at 07:35:49 UTC, ZombineDev wrote:
> 
> If the object is larger than the size of a register on the 
> target machine, it is implicitly passed by ref (i.e. struct 
> fields are accessed by offset from the stack pointer).

(Oops, sorry ZombineDev, should've read your reply first)


More information about the Digitalmars-d-learn mailing list