Isn't using find with retro awkward?

spir denis.spir at gmail.com
Wed Feb 16 10:31:13 PST 2011


On 02/16/2011 05:14 PM, Andrej Mitrovic wrote:
> On 2/16/11, spir<denis.spir at gmail.com>  wrote:
>>
>> for any reason, I would prefere
>>       findBack(haystack, needle);
>> :-)
>
> Or maybe find should have an extra parameter that decides if the
> search begins from the beginning or the end of the range.

Yes, I would support this additional parameter; probably the simplest solution.
(Actually had the same idea in mind, but don't remember whether I posted it :-)

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d-learn mailing list