• Home
  • Raw
  • Download

Lines Matching full:noexcept

29 …ic_cast<ptrdiff_t>(sizeof(ElementType)) * Extent))> as_bytes(span<ElementType, Extent> s) noexcept;
33 …trdiff_t>(sizeof(ElementType)) * Extent))> as_writable_bytes(span<ElementType, Extent> s) noexcept;
54 constexpr span() noexcept;
58 constexpr span(element_type (&arr)[N]) noexcept;
60 constexpr span(array<value_type, N>& arr) noexcept;
62 constexpr span(const array<value_type, N>& arr) noexcept;
67 constexpr span(const span& other) noexcept = default;
69 constexpr span(const span<OtherElementType, OtherExtent>& s) noexcept;
70 ~span() noexcept = default;
71 constexpr span& operator=(const span& other) noexcept = default;
86 constexpr index_type size() const noexcept;
87 constexpr index_type size_bytes() const noexcept;
88 constexpr bool empty() const noexcept;
93 constexpr pointer data() const noexcept;
96 constexpr iterator begin() const noexcept;
97 constexpr iterator end() const noexcept;
98 constexpr const_iterator cbegin() const noexcept;
99 constexpr const_iterator cend() const noexcept;
100 constexpr reverse_iterator rbegin() const noexcept;
101 constexpr reverse_iterator rend() const noexcept;
102 constexpr const_reverse_iterator crbegin() const noexcept;
103 constexpr const_reverse_iterator crend() const noexcept;
211 _LIBCPP_INLINE_VISIBILITY constexpr span() noexcept : __data{nullptr}
214 constexpr span (const span&) noexcept = default;
215 constexpr span& operator=(const span&) noexcept = default;
222 …_LIBCPP_INLINE_VISIBILITY constexpr span(element_type (&__arr)[_Extent]) noexcept : __dat…
223 …_LIBCPP_INLINE_VISIBILITY constexpr span( array<value_type, _Extent>& __arr) noexcept : __dat…
224 …_LIBCPP_INLINE_VISIBILITY constexpr span(const array<value_type, _Extent>& __arr) noexcept : __dat…
253 nullptr_t> = nullptr) noexcept
257 // ~span() noexcept = default;
261 constexpr span<element_type, _Count> first() const noexcept
270 constexpr span<element_type, _Count> last() const noexcept
278 constexpr span<element_type, dynamic_extent> first(index_type __count) const noexcept
285 constexpr span<element_type, dynamic_extent> last(index_type __count) const noexcept
293 constexpr auto subspan() const noexcept
303 subspan(index_type __offset, index_type __count = dynamic_extent) const noexcept
313 _LIBCPP_INLINE_VISIBILITY constexpr index_type size() const noexcept { return _Extent; }
314 …_LIBCPP_INLINE_VISIBILITY constexpr index_type size_bytes() const noexcept { return _Extent * size…
315 …_LIBCPP_INLINE_VISIBILITY constexpr bool empty() const noexcept { return _Extent == 0; }
317 _LIBCPP_INLINE_VISIBILITY constexpr reference operator[](index_type __idx) const noexcept
323 _LIBCPP_INLINE_VISIBILITY constexpr reference operator()(index_type __idx) const noexcept
329 …_LIBCPP_INLINE_VISIBILITY constexpr pointer data() const noexcept { return…
332 …_LIBCPP_INLINE_VISIBILITY constexpr iterator begin() const noexcept { return itera…
333 …_LIBCPP_INLINE_VISIBILITY constexpr iterator end() const noexcept { return itera…
334 …_LIBCPP_INLINE_VISIBILITY constexpr const_iterator cbegin() const noexcept { return const…
335 …_LIBCPP_INLINE_VISIBILITY constexpr const_iterator cend() const noexcept { return const…
336 …_LIBCPP_INLINE_VISIBILITY constexpr reverse_iterator rbegin() const noexcept { return rever…
337 …_LIBCPP_INLINE_VISIBILITY constexpr reverse_iterator rend() const noexcept { return rever…
338 …_LIBCPP_INLINE_VISIBILITY constexpr const_reverse_iterator crbegin() const noexcept { return const…
339 …_LIBCPP_INLINE_VISIBILITY constexpr const_reverse_iterator crend() const noexcept { return const…
341 _LIBCPP_INLINE_VISIBILITY constexpr void swap(span &__other) noexcept
348 …BCPP_INLINE_VISIBILITY span<const byte, _Extent * sizeof(element_type)> __as_bytes() const noexcept
351 …_INLINE_VISIBILITY span<byte, _Extent * sizeof(element_type)> __as_writeable_bytes() const noexcept
382 _LIBCPP_INLINE_VISIBILITY constexpr span() noexcept : __data{nullptr}, __size{0} {}
384 constexpr span (const span&) noexcept = default;
385 constexpr span& operator=(const span&) noexcept = default;
392 constexpr span(element_type (&__arr)[_Sz]) noexcept : __data{__arr}, __size{_Sz} {}
396 …constexpr span(array<value_type, _Sz>& __arr) noexcept : __data{__arr.data()}, __size{_Sz} {}
400 …constexpr span(const array<value_type, _Sz>& __arr) noexcept : __data{__arr.data()}, __size{_Sz} {}
420 nullptr_t> = nullptr) noexcept
423 // ~span() noexcept = default;
427 constexpr span<element_type, _Count> first() const noexcept
436 constexpr span<element_type, _Count> last() const noexcept
444 constexpr span<element_type, dynamic_extent> first(index_type __count) const noexcept
451 constexpr span<element_type, dynamic_extent> last (index_type __count) const noexcept
459 constexpr span<_Tp, dynamic_extent> subspan() const noexcept
468 subspan(index_type __offset, index_type __count = dynamic_extent) const noexcept
478 _LIBCPP_INLINE_VISIBILITY constexpr index_type size() const noexcept { return __size; }
479 …_LIBCPP_INLINE_VISIBILITY constexpr index_type size_bytes() const noexcept { return __size * sizeo…
480 … _LIBCPP_INLINE_VISIBILITY constexpr bool empty() const noexcept { return __size == 0; }
482 _LIBCPP_INLINE_VISIBILITY constexpr reference operator[](index_type __idx) const noexcept
488 _LIBCPP_INLINE_VISIBILITY constexpr reference operator()(index_type __idx) const noexcept
494 …_LIBCPP_INLINE_VISIBILITY constexpr pointer data() const noexcept { return…
497 …_LIBCPP_INLINE_VISIBILITY constexpr iterator begin() const noexcept { return itera…
498 …_LIBCPP_INLINE_VISIBILITY constexpr iterator end() const noexcept { return itera…
499 …_LIBCPP_INLINE_VISIBILITY constexpr const_iterator cbegin() const noexcept { return const…
500 …_LIBCPP_INLINE_VISIBILITY constexpr const_iterator cend() const noexcept { return const…
501 …_LIBCPP_INLINE_VISIBILITY constexpr reverse_iterator rbegin() const noexcept { return rever…
502 …_LIBCPP_INLINE_VISIBILITY constexpr reverse_iterator rend() const noexcept { return rever…
503 …_LIBCPP_INLINE_VISIBILITY constexpr const_reverse_iterator crbegin() const noexcept { return const…
504 …_LIBCPP_INLINE_VISIBILITY constexpr const_reverse_iterator crend() const noexcept { return const…
506 _LIBCPP_INLINE_VISIBILITY constexpr void swap(span &__other) noexcept
517 _LIBCPP_INLINE_VISIBILITY span<const byte, dynamic_extent> __as_bytes() const noexcept
520 _LIBCPP_INLINE_VISIBILITY span<byte, dynamic_extent> __as_writeable_bytes() const noexcept
530 auto as_bytes(span<_Tp, _Extent> __s) noexcept
535 auto as_writeable_bytes(span<_Tp, _Extent> __s) noexcept
540 constexpr void swap(span<_Tp, _Extent> &__lhs, span<_Tp, _Extent> &__rhs) noexcept