[clang] [libc] [clang-tools-extra] [llvm] [mlir] [libcxx] [libc++][span] P2821R5: span.at() (PR #74994)

Hristo Hristov via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 10 23:47:38 PST 2023


================
@@ -343,6 +347,15 @@ public:
         return __data_[__idx];
     }
 
+#  if _LIBCPP_STD_VER >= 26
+    _LIBCPP_HIDE_FROM_ABI constexpr reference at(size_type __idx) const {
----------------
H-G-Hristov wrote:

@mordante I am not sure what I need to do. My experience with modules is minuscule. I think we only need to export global namespace level names and this is a class member. Could you please show an example. I couldn't find any.

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


More information about the cfe-commits mailing list