Learning to XML with D

Derix via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 9 03:23:10 PST 2015


>> What I don't quite grab is the construct (in Element e) , 
>> especially the *in* part.
>
> Function parameters in D can be qualified as in or out, 
> optionally:


But of course. Actually I kinda found out just a little while 
after posting the question. Asking questions is a great way to 
figure out the answer, so thank you for reading mines ;-) Thank 
you for your answer too, which consolidates my guess and makes me 
think I still have some thinking to do about the life of a 
function parameter.


I was a bit puzzled too as to where the "Element e" comes from, 
how is it that it's already instanciated and all. Well, I've just 
found the relevant part of the documentation. To be honest, said 
documentation is not always easy to navigate or to decrypt. I 
sense some potential for progress here.


More information about the Digitalmars-d-learn mailing list