aboutsummaryrefslogtreecommitdiff
path: root/libcxx/modules/std/numeric.inc
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/modules/std/numeric.inc')
-rw-r--r--libcxx/modules/std/numeric.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/libcxx/modules/std/numeric.inc b/libcxx/modules/std/numeric.inc
index 3bc7b23..5a54955 100644
--- a/libcxx/modules/std/numeric.inc
+++ b/libcxx/modules/std/numeric.inc
@@ -42,8 +42,12 @@ export namespace std {
using std::iota;
namespace ranges {
- // using std::ranges::iota_result;
- // using std::ranges::iota;
+
+#if _LIBCPP_STD_VER >= 23
+ using std::ranges::iota;
+ using std::ranges::iota_result;
+#endif // _LIBCPP_STD_VER >= 23
+
} // namespace ranges
// [numeric.ops.gcd], greatest common divisor