Elegant way to test if members of array A are present in array B?

Robert M. Münch robert.muench at saphirion.com
Fri Jun 14 08:55:16 UTC 2019


On 2019-06-12 13:58:49 +0000, Meta said:

> There are two versions of find that can find a range within another:
> 
> https://dlang.org/phobos/std_algorithm_searching.html#.find
> https://dlang.org/phobos/std_algorithm_searching.html#.find.3

Thanks, that looks good. I read the find docs, but somehow didn't 
see/understand the forwardRange part. Not so easy to get...

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d-learn mailing list