You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way in which __is_const_callable_object_v is implemented does not work when there are multiple overloads of operator() (even in the form of templates).
It is only used in one place, replace_copy_if. It seems it could be replaced by a check to is_invocable_v with the specific argument type we are interested in, and then removed from utils. We need to check that we don't have unintended consequences on replace_copy_if though.
The text was updated successfully, but these errors were encountered:
The way in which
__is_const_callable_object_v
is implemented does not work when there are multiple overloads ofoperator()
(even in the form of templates).It is only used in one place,
replace_copy_if
. It seems it could be replaced by a check tois_invocable_v
with the specific argument type we are interested in, and then removed from utils. We need to check that we don't have unintended consequences onreplace_copy_if
though.The text was updated successfully, but these errors were encountered: