• Home
  • Raw
  • Download

Lines Matching full:noexcept

162 // Furthermore, all constructors and methods are marked noexcept due to the lack
185 constexpr span() noexcept : data_(nullptr), size_(0) {
189 constexpr span(T* data, size_t size) noexcept : data_(data), size_(size) {
195 constexpr span(T* begin, T* end) noexcept : span(begin, end - begin) {
203 constexpr span(T (&array)[N]) noexcept : span(base::data(array), N) {}
209 constexpr span(std::array<value_type, N>& array) noexcept
218 constexpr span(const std::array<value_type, N>& array) noexcept
225 constexpr span(Container& container) noexcept
231 span(const Container& container) noexcept
234 constexpr span(const span& other) noexcept = default;
247 constexpr span& operator=(const span& other) noexcept = default;
248 ~span() noexcept = default;
252 constexpr span<T, Count> first() const noexcept {
260 constexpr span<T, Count> last() const noexcept {
273 subspan() const noexcept {
285 constexpr span<T, dynamic_extent> first(size_t count) const noexcept {
291 constexpr span<T, dynamic_extent> last(size_t count) const noexcept {
299 noexcept {
307 constexpr size_t size() const noexcept { return size_; }
308 constexpr size_t size_bytes() const noexcept { return size() * sizeof(T); }
309 constexpr bool empty() const noexcept { return size() == 0; }
312 constexpr T& operator[](size_t idx) const noexcept {
318 constexpr T& operator()(size_t idx) const noexcept {
324 constexpr T* data() const noexcept { return data_; }
327 constexpr iterator begin() const noexcept { return data(); }
328 constexpr iterator end() const noexcept { return data() + size(); }
330 constexpr const_iterator cbegin() const noexcept { return begin(); }
331 constexpr const_iterator cend() const noexcept { return end(); }
333 constexpr reverse_iterator rbegin() const noexcept {
336 constexpr reverse_iterator rend() const noexcept {
340 constexpr const_reverse_iterator crbegin() const noexcept {
343 constexpr const_reverse_iterator crend() const noexcept {
360 constexpr bool operator==(span<T, X> lhs, span<U, Y> rhs) noexcept {
365 constexpr bool operator!=(span<T, X> lhs, span<U, Y> rhs) noexcept {
370 constexpr bool operator<(span<T, X> lhs, span<U, Y> rhs) noexcept {
376 constexpr bool operator<=(span<T, X> lhs, span<U, Y> rhs) noexcept {
381 constexpr bool operator>(span<T, X> lhs, span<U, Y> rhs) noexcept {
386 constexpr bool operator>=(span<T, X> lhs, span<U, Y> rhs) noexcept {
393 as_bytes(span<T, X> s) noexcept {
401 as_writable_bytes(span<T, X> s) noexcept {
407 constexpr span<T> make_span(T* data, size_t size) noexcept {
412 constexpr span<T> make_span(T* begin, T* end) noexcept {
417 constexpr span<T, N> make_span(T (&array)[N]) noexcept {
422 constexpr span<T, N> make_span(std::array<T, N>& array) noexcept {
427 constexpr span<const T, N> make_span(const std::array<T, N>& array) noexcept {
434 constexpr span<T> make_span(Container& container) noexcept {
442 constexpr span<T> make_span(const Container& container) noexcept {
447 constexpr span<T, X> make_span(const span<T, X>& span) noexcept {