Why do the same work about 'IndexOfAny' and 'indexOf' function?

Robert burner Schadek via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 8 07:15:57 PST 2015


use canFind like such:
     bool a = canFind(strs,s) >= 1;

let the compiler figger out what the types of the parameter are.


More information about the Digitalmars-d-learn mailing list