Lines Matching refs:Extent
24 template <typename T, size_t Extent = dynamic_extent>
32 template <typename T, size_t Extent>
33 struct IsSpanImpl<span<T, Extent>> : std::true_type {};
68 template <typename Array, size_t N, typename T, size_t Extent>
70 std::enable_if_t<(Extent == dynamic_extent || Extent == N) &&
169 template <typename T, size_t Extent>
182 static constexpr index_type extent = Extent;
186 static_assert(Extent == dynamic_extent || Extent == 0, "Invalid Extent");
190 CHECK(Extent == dynamic_extent || Extent == size);
202 typename = internal::EnableIfSpanCompatibleArray<T (&)[N], N, T, Extent>>
208 EnableIfSpanCompatibleArray<std::array<value_type, N>&, N, T, Extent>>
217 Extent>>
243 internal::EnableIfLegalSpanConversion<U, OtherExtent, T, Extent>>
253 static_assert(Extent == dynamic_extent || Count <= Extent,
255 CHECK(Extent != dynamic_extent || Count <= size());
261 static_assert(Extent == dynamic_extent || Count <= Extent,
263 CHECK(Extent != dynamic_extent || Count <= size());
271 : (Extent != dynamic_extent ? Extent - Offset
274 static_assert(Extent == dynamic_extent || Offset <= Extent,
276 static_assert(Extent == dynamic_extent || Count == dynamic_extent ||
277 Count <= Extent - Offset,
279 CHECK(Extent != dynamic_extent || Offset <= size());
280 CHECK(Extent != dynamic_extent || Count == dynamic_extent ||
354 template <class T, size_t Extent>
355 constexpr size_t span<T, Extent>::extent;