@@ -28,7 +28,7 @@ namespace cpp {
2828// - No implicit type conversion (e.g. Span<B>, initialized with As where A
2929// inherits from B),
3030// - No reverse iterators
31- template <typename T> class LIBC_GSL_POINTER span {
31+ template <typename T> class span {
3232 template <typename U>
3333 LIBC_INLINE_VAR static constexpr bool is_const_view_v =
3434 !cpp::is_const_v<U> && cpp::is_const_v<T> &&
@@ -64,12 +64,11 @@ template <typename T> class LIBC_GSL_POINTER span {
6464
6565 template <typename U, size_t N,
6666 cpp::enable_if_t <is_compatible_v<U>, bool > = true >
67- LIBC_INLINE constexpr span (LIBC_LIFETIME_BOUND U (&arr)[N])
68- : span_data(arr), span_size(N) {}
67+ LIBC_INLINE constexpr span (U (&arr)[N]) : span_data(arr), span_size(N) {}
6968
7069 template <typename U, size_t N,
7170 cpp::enable_if_t <is_compatible_v<U>, bool > = true >
72- LIBC_INLINE constexpr span (LIBC_LIFETIME_BOUND array<U, N> &arr)
71+ LIBC_INLINE constexpr span (array<U, N> &arr)
7372 : span_data(arr.data()), span_size(arr.size()) {}
7473
7574 template <typename U, cpp::enable_if_t <is_compatible_v<U>, bool > = true >
0 commit comments