Re: writeln, alias this and dynamic arrays.

2017-11-22 Thread matthewh via Digitalmars-d-learn
Thank you all for the helpful responses. I will read more about ranges.

writeln, alias this and dynamic arrays.

2017-11-16 Thread matthewh via Digitalmars-d-learn
I am new to D and have been fiddling with bits and pieces. I have this code: import std.stdio : writeln; import std.format : format; class Base { override { //string toString() //{ // return format("%s", store); //} } ubyte[] store; alias st