https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122425
--- Comment #1 from 康桓瑋 <hewillk at gmail dot com> --- #include <ranges> #include <optional> static_assert(std::ranges::borrowed_range<std::optional<int&>>);
hewillk at gmail dot com via Gcc-bugs Sat, 25 Oct 2025 09:35:29 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122425
--- Comment #1 from 康桓瑋 <hewillk at gmail dot com> --- #include <ranges> #include <optional> static_assert(std::ranges::borrowed_range<std::optional<int&>>);