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
auto &&res = views::split(views::empty<int>, 0);
auto &&front = *begin(res);
return distance(views::ext::ref(front));
Fails to build on gcc trunk with:
/opt/compiler-explorer/libs/cmcstl2/include/stl2/view/ref.hpp:76:23: error: no match for call to '(const std::experimental::ranges::v1::__size::__fn) (std::experimental::ranges::v1::split_view<std::experimental::ranges::v1::empty_view<int>, std::experimental::ranges::v1::single_view<int> >::__outer_iterator<true>::value_type&)'76 | return __stl2::size(*r_);
The following code:
Fails to build on gcc trunk with:
https://gcc.godbolt.org/z/_xdw75
The text was updated successfully, but these errors were encountered: