Skip to content
Unverified Commit b09551f0 authored by Louis Dionne's avatar Louis Dionne Committed by GitHub
Browse files

[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
parent cb7cf626
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment