std.string and std.algorithm: what to do?

Derek Parnell derek at psych.ward
Fri May 15 21:19:22 PDT 2009


On Sat, 16 May 2009 04:36:29 +0300, Georg Wrede wrote:


> Well, if you wrote
> 
>    funcA(find(needle, haystack) < haystack.length, xyzzy)
> 
> then it is you, who decided to use funcA. Now, if that wasn't to your 
> liking, you'd of course write your own funcA (or use another function), 
> that works as you want.
> 
> Therefore, you're "in control of funcA() here".

Thank you, Georg. That is a conclusion I would never have come to.

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list