Question regarding readf

Ali Çehreli acehreli at yahoo.com
Mon Apr 22 23:53:59 UTC 2019


On 04/22/2019 03:29 PM, Andre Pany wrote:

 > I wonder wheter std.stdio is missing a readfln function. Which executes
 > readln, strips the #10#13 characters and then executes formattedRead.
 > Does that make sense to you?

Makes sense but what we are missing is standard streaming (like C++'s 
overloaded << and >> operators), which Steven Schveighoffer's iopipe can 
be a solution for but I haven't played with it myself.

Ali



More information about the Digitalmars-d-learn mailing list