[clang-tools-extra] [libc++] Implement ranges::iota (PR #68494)

via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 7 14:40:28 PDT 2023


================
@@ -0,0 +1,54 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP___NUMERIC_RANGES_IOTA_H
+#define _LIBCPP___NUMERIC_RANGES_IOTA_H
+
+#include <__algorithm/out_value_result.h>
+#include <__config>
+#include <__ranges/concepts.h>
+#include <__utility/as_const.h>
+
----------------
philnik777 wrote:

```suggestion
#include <__utility/move.h>
```

https://github.com/llvm/llvm-project/pull/68494


More information about the cfe-commits mailing list