not expected pointers for struct members from foreach

deed none at none.none
Wed Oct 10 08:44:12 PDT 2012


> Struct pointers are useful and reliable, but before using them 
> you need to know the difference between heap and stack, what a 
> stack frame is, and how structs are handled when they are on 
> the stack. Learning the basics of such things ideas requires 
> only few minutes and it will be useful for many years.
>
> Bye,
> bearophile


Thanks for useful feedback.


More information about the Digitalmars-d-learn mailing list