std.algorithm issue

BCS ao at pathlink.com
Wed May 21 16:24:33 PDT 2008


Reply to Brian,


> Is it possible to map! or reduce! a member function or delegate
> against a range? If so how would I do that?
> 

I think not because the context pointer "this" must be carried somehow at 
runtime. It might, however, be possible to make a version of map! that takes 
a delegate and uses that.





More information about the Digitalmars-d mailing list