[PATCH] D16053: is_contained() convenience function

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 12:56:51 PST 2016

bkramer added a comment.

I personally dislike bind. I thought there was a a way to use std::equal_to without manually binding, but apparently there isn't, so adding is_contained is fine with me. Preferably with std::find as it avoids a confusing bind.


More information about the llvm-commits mailing list