https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103924

--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
>From PR114530:

#include <ranges>
#include <vector>

static_assert(
  std::ranges::distance(
      std::views::single(std::views::cartesian_product(std::string{}))
    | std::views::join
  ) == 0
);

Reply via email to