Function calls
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Jan 28 13:26:08 PST 2010
Steven Schveighoffer wrote:
> On Thu, 28 Jan 2010 15:59:30 -0500, Andrei Alexandrescu
> <SeeWebsiteForEmail at 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
More information about the Digitalmars-d
mailing list