fix heterogeneous lookup for non-transitive is_convertible
Summary: In most cases two implicit conversions can be chained to perform an explicit construction, but that is not the case when the intermediate type has a template parameter that can't be deduced. This interferes with heterogeneous lookup when the transparent hasher or equality functor work by implicit conversion to a base type (like folly::Range). This diff disables heteregeneous find in cases where the hash functor or equality functor are not invocable. Reviewed By: yfeldblum Differential Revision: D13264397 fbshipit-source-id: 082c3215e81ab58f3fa9519da872642e45b16245
Showing
Please register or sign in to comment