[libc++] Fix implementation of iota_view::size (#67819)
We were incorrectly deducing the return type of size() because we were not using ternary operators in the implementation (as the spec says). Instead of deducing the common type of the expressions in the spec, we would deduce potentially different return types and fail to compile. Fixes #67551
Loading
Please sign in to comment