readln with buffer fails

dcrepid via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 29 16:20:26 PDT 2014


lol, if only I could edit my posts. The comment preceding the 
readln() call was wrong too. This is what I have now:

// readln(buf) requires a slice *Reference*.
// rvalue references aren't supported by D, so readln(Input[]) 
fails


More information about the Digitalmars-d-learn mailing list