• Home
  • Raw
  • Download

Lines Matching refs:__count

212 …_LIBCPP_INLINE_VISIBILITY constexpr explicit span(pointer __ptr, size_type __count) : __data{__ptr}
213 …{ (void)__count; _LIBCPP_ASSERT(_Extent == __count, "size mismatch in span's constructor (ptr, len…
281 constexpr span<element_type, dynamic_extent> first(size_type __count) const noexcept
283 _LIBCPP_ASSERT(__count <= size(), "Count out of range in span::first(count)");
284 return {data(), __count};
288 constexpr span<element_type, dynamic_extent> last(size_type __count) const noexcept
290 _LIBCPP_ASSERT(__count <= size(), "Count out of range in span::last(count)");
291 return {data() + size() - __count, __count};
309 subspan(size_type __offset, size_type __count = dynamic_extent) const noexcept
312 …_LIBCPP_ASSERT(__count <= size() || __count == dynamic_extent, "Count out of range in span::subsp…
313 if (__count == dynamic_extent)
315 …_LIBCPP_ASSERT(__count <= size() - __offset, "Offset + count out of range in span::subspan(offset,…
316 return {data() + __offset, __count};
386 …LINE_VISIBILITY constexpr span(pointer __ptr, size_type __count) : __data{__ptr}, __size{__count} …
443 constexpr span<element_type, dynamic_extent> first(size_type __count) const noexcept
445 _LIBCPP_ASSERT(__count <= size(), "Count out of range in span::first(count)");
446 return {data(), __count};
450 constexpr span<element_type, dynamic_extent> last (size_type __count) const noexcept
452 _LIBCPP_ASSERT(__count <= size(), "Count out of range in span::last(count)");
453 return {data() + size() - __count, __count};
467 subspan(size_type __offset, size_type __count = dynamic_extent) const noexcept
470 …_LIBCPP_ASSERT(__count <= size() || __count == dynamic_extent, "count out of range in span::subsp…
471 if (__count == dynamic_extent)
473 …_LIBCPP_ASSERT(__count <= size() - __offset, "Offset + count out of range in span::subspan(offset,…
474 return {data() + __offset, __count};