libstdc++: Workaround for LLVM-61763 in <ranges>
commitbe34a8b538c0f04b11a428bd1a9340eb19dec13f
authorBenjamin Brock <brock@cs.berkeley.edu>
Fri, 20 Oct 2023 17:07:50 +0000 (20 18:07 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 21 Oct 2023 10:54:00 +0000 (21 11:54 +0100)
treec651c17d4d1024b4670e9930b7c9d451f7e8e7c5
parent59a7d38997ec4d8a606c97b00e1a8b697edd1316
libstdc++: Workaround for LLVM-61763 in <ranges>

This patch adds a small workaround that avoids declaring constrained
friends when compiling with Clang, instead making some members public.
MSVC's standard library has implemented a similar workaround.

Signed-off-by: Benjamin Brock <brock@cs.berkeley.edu>
libstdc++-v3/ChangeLog:

* include/std/ranges (zip_view, adjacent_view): Implement
workaround for LLVM-61763.
libstdc++-v3/include/std/ranges