[flang-commits] [lldb] [llvm] [libc] [libcxx] [flang] [compiler-rt] [mlir] [clang-tools-extra] [openmp] [clang] [libc++][span] P2821R5: span.at() (PR #74994)
Hristo Hristov via flang-commits
flang-commits at lists.llvm.org
Mon Dec 11 11:22:03 PST 2023
================
@@ -343,6 +345,15 @@ public:
return __data_[__idx];
}
+# if _LIBCPP_STD_VER >= 26
+ _LIBCPP_HIDE_FROM_ABI constexpr reference at(size_type __index) const {
+ if (__index >= size()) {
----------------
H-G-Hristov wrote:
Done! Sorry I missed that.
https://github.com/llvm/llvm-project/pull/74994
More information about the flang-commits
mailing list