fewer std::function instantions for alg.includes test