Steven Schveighoffer wrote:
On Thu, 28 Jan 2010 15:59:30 -0500, Andrei Alexandrescu <seewebsiteforem...@erdani.org> wrote:
foreach (line; stdin.byLine()) { ... }

vs.

foreach (line; stdin.byLine) { ... }

How do I choose?

byLine is a property.  It is fetching a range on stdin.

-Steve

Damn. I was sure the answer will be different.

Andrei

Reply via email to