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

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sun Dec 10 12:02:10 PST 2023


================
@@ -146,6 +147,9 @@ template<class R>
 #include <__utility/forward.h>
 #include <array>        // for array
 #include <cstddef>      // for byte
+#if _LIBCPP_STD_VER >= 26
+#  include <stdexcept>
----------------
mordante wrote:

Typically we unconditionally include headers.

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


More information about the libcxx-commits mailing list