Overhauling the notion of output range
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Jul 13 08:06:38 PDT 2010
On 07/13/2010 06:18 AM, Steven Schveighoffer wrote:
> On Tue, 13 Jul 2010 01:52:52 -0400, Philippe Sigaud
> <philippe.sigaud at gmail.com> wrote:
>
>> You call r(e) and r([e])) 'delegates'. Are you just using it as a generic
>> term, or does that mean using any callable (struct with opCall) is not a
>> good idea in this case, for whatever reason?
>
> I think struct with opCall is ok. That's pretty much all a delegate is
> anyways.
Yes, the delegate is mostly used as an example. Any syntactically valid
r(e) should be accepted.
Andrei
More information about the Digitalmars-d
mailing list