Open ldionne opened 1 week ago
As @frederick-vs-ja said in https://github.com/llvm/llvm-project/pull/96662#issuecomment-2190369463:
I've roughly tested the idea
- extract a new
_Integer_like_types_signedness_mismatch
variable template,- use it in the constraints of the deduction guide, and then
- copy the constraints of
iota_view
and its deduction guide to__iota::__fn::operator()
.Error messages seem improved (Godbolt link).
From #91385: