Thanks.
pass a struct by value/ref and size of the struct
ref2401 via Digitalmars-d-learn Mon, 21 Mar 2016 16:36:07 -0700
I have got a plenty of structs in my project. Their size varies
from 12 bytes to 128 bytes.
Is there a rule of thumb that states which structs I pass by
value and which I should pass by reference due to their size?
- pass a struct by value/ref and size ... ref2401 via Digitalmars-d-learn
- Re: pass a struct by value/ref ... tsbockman via Digitalmars-d-learn
- Re: pass a struct by value/ref ... ZombineDev via Digitalmars-d-learn
- Re: pass a struct by value/... Johan Engelen via Digitalmars-d-learn
- Re: pass a struct by value/... kinke via Digitalmars-d-learn
- Re: pass a struct by va... ZombineDev via Digitalmars-d-learn
- Re: pass a struct b... ZombineDev via Digitalmars-d-learn
- Re: pass a str... Namespace via Digitalmars-d-learn
- Re: pass a struct by value/ref ... Johan Engelen via Digitalmars-d-learn