[libc++] Define `namespace views` in its own detail header.
Discovered in the comments on D118748: we would like this namespace
to exist anytime Ranges exists, regardless of whether concepts syntax
is supported. Also, we'd like to fully granularize the <ranges> header,
which means not putting any loose declarations at the top level.
Differential Revision: https://reviews.llvm.org/D118809
NOKEYCHECK=True
GitOrigin-RevId: 44cdca37c01a58da94087be8ebd0ee2bd2ba724e
diff --git a/include/module.modulemap b/include/module.modulemap
index adec0b7..0e2e761 100644
--- a/include/module.modulemap
+++ b/include/module.modulemap
@@ -817,6 +817,7 @@
export functional.__functional.perfect_forward
}
module view_interface { private header "__ranges/view_interface.h" }
+ module views { private header "__ranges/views.h" }
}
}
module ratio {