Lines Matching refs:noexcept
34 (sizeof(ElementType) * Extent))> as_bytes(span<ElementType, Extent> s) noexcept;
38 (sizeof(ElementType) * Extent))> as_writable_bytes(span<ElementType, Extent> s) noexcept;
58 constexpr span() noexcept;
62 constexpr span(element_type (&arr)[N]) noexcept;
64 constexpr span(array<value_type, N>& arr) noexcept;
66 constexpr span(const array<value_type, N>& arr) noexcept;
71 constexpr span(const span& other) noexcept = default;
73 …xpr explicit(Extent != dynamic_extent) span(const span<OtherElementType, OtherExtent>& s) noexcept;
74 ~span() noexcept = default;
75 constexpr span& operator=(const span& other) noexcept = default;
90 constexpr size_type size() const noexcept;
91 constexpr size_type size_bytes() const noexcept;
92 constexpr bool empty() const noexcept;
98 constexpr pointer data() const noexcept;
101 constexpr iterator begin() const noexcept;
102 constexpr iterator end() const noexcept;
103 constexpr reverse_iterator rbegin() const noexcept;
104 constexpr reverse_iterator rend() const noexcept;
222 _LIBCPP_INLINE_VISIBILITY constexpr span() noexcept : __data{nullptr} {}
224 constexpr span (const span&) noexcept = default;
225 constexpr span& operator=(const span&) noexcept = default;
232 …_LIBCPP_INLINE_VISIBILITY constexpr span(element_type (&__arr)[_Extent]) noexcept : __dat…
237 constexpr span(array<_OtherElementType, _Extent>& __arr) noexcept : __data{__arr.data()} {}
242 … constexpr span(const array<_OtherElementType, _Extent>& __arr) noexcept : __data{__arr.data()} {}
273 nullptr_t> = nullptr) noexcept
277 // ~span() noexcept = default;
281 constexpr span<element_type, _Count> first() const noexcept
289 constexpr span<element_type, _Count> last() const noexcept
296 constexpr span<element_type, dynamic_extent> first(size_type __count) const noexcept
303 constexpr span<element_type, dynamic_extent> last(size_type __count) const noexcept
311 constexpr auto subspan() const noexcept
324 subspan(size_type __offset, size_type __count = dynamic_extent) const noexcept
334 _LIBCPP_INLINE_VISIBILITY constexpr size_type size() const noexcept { return _Extent; }
335 …_LIBCPP_INLINE_VISIBILITY constexpr size_type size_bytes() const noexcept { return _Extent * sizeo…
336 … _LIBCPP_INLINE_VISIBILITY constexpr bool empty() const noexcept { return _Extent == 0; }
338 _LIBCPP_INLINE_VISIBILITY constexpr reference operator[](size_type __idx) const noexcept
344 _LIBCPP_INLINE_VISIBILITY constexpr reference front() const noexcept
350 _LIBCPP_INLINE_VISIBILITY constexpr reference back() const noexcept
356 …_LIBCPP_INLINE_VISIBILITY constexpr pointer data() const noexcept { return…
359 …_LIBCPP_INLINE_VISIBILITY constexpr iterator begin() const noexcept { return itera…
360 …_LIBCPP_INLINE_VISIBILITY constexpr iterator end() const noexcept { return itera…
361 …_LIBCPP_INLINE_VISIBILITY constexpr reverse_iterator rbegin() const noexcept { return rever…
362 …_LIBCPP_INLINE_VISIBILITY constexpr reverse_iterator rend() const noexcept { return rever…
364 …BCPP_INLINE_VISIBILITY span<const byte, _Extent * sizeof(element_type)> __as_bytes() const noexcept
367 …P_INLINE_VISIBILITY span<byte, _Extent * sizeof(element_type)> __as_writable_bytes() const noexcept
400 _LIBCPP_INLINE_VISIBILITY constexpr span() noexcept : __data{nullptr}, __size{0} {}
402 constexpr span (const span&) noexcept = default;
403 constexpr span& operator=(const span&) noexcept = default;
410 constexpr span(element_type (&__arr)[_Sz]) noexcept : __data{__arr}, __size{_Sz} {}
415 …constexpr span(array<_OtherElementType, _Sz>& __arr) noexcept : __data{__arr.data()}, __size{_Sz} …
420 …constexpr span(const array<_OtherElementType, _Sz>& __arr) noexcept : __data{__arr.data()}, __size…
440 nullptr_t> = nullptr) noexcept
443 // ~span() noexcept = default;
447 constexpr span<element_type, _Count> first() const noexcept
455 constexpr span<element_type, _Count> last() const noexcept
462 constexpr span<element_type, dynamic_extent> first(size_type __count) const noexcept
469 constexpr span<element_type, dynamic_extent> last (size_type __count) const noexcept
477 constexpr span<element_type, _Count> subspan() const noexcept
486 subspan(size_type __offset, size_type __count = dynamic_extent) const noexcept
496 _LIBCPP_INLINE_VISIBILITY constexpr size_type size() const noexcept { return __size; }
497 …_LIBCPP_INLINE_VISIBILITY constexpr size_type size_bytes() const noexcept { return __size * sizeof…
498 … _LIBCPP_INLINE_VISIBILITY constexpr bool empty() const noexcept { return __size == 0; }
500 _LIBCPP_INLINE_VISIBILITY constexpr reference operator[](size_type __idx) const noexcept
506 _LIBCPP_INLINE_VISIBILITY constexpr reference front() const noexcept
512 _LIBCPP_INLINE_VISIBILITY constexpr reference back() const noexcept
519 …_LIBCPP_INLINE_VISIBILITY constexpr pointer data() const noexcept { return…
522 …_LIBCPP_INLINE_VISIBILITY constexpr iterator begin() const noexcept { return itera…
523 …_LIBCPP_INLINE_VISIBILITY constexpr iterator end() const noexcept { return itera…
524 …_LIBCPP_INLINE_VISIBILITY constexpr reverse_iterator rbegin() const noexcept { return rever…
525 …_LIBCPP_INLINE_VISIBILITY constexpr reverse_iterator rend() const noexcept { return rever…
527 _LIBCPP_INLINE_VISIBILITY span<const byte, dynamic_extent> __as_bytes() const noexcept
530 _LIBCPP_INLINE_VISIBILITY span<byte, dynamic_extent> __as_writable_bytes() const noexcept
549 auto as_bytes(span<_Tp, _Extent> __s) noexcept
555 auto as_writable_bytes(span<_Tp, _Extent> __s) noexcept