Why does readln include the line terminator?

Christopher Wright dhasenan at gmail.com
Wed Apr 15 16:36:45 PDT 2009


Steven Schveighoffer wrote:
> auto reader = file.byLine!("/[.,]/")();

Why specify anything at compile time when a user could reasonably 
generate the value at runtime?

auto reader = file.byLine(readConfig().separator);



More information about the Digitalmars-d mailing list