Lines Matching defs:begin
67 /*! \brief Returns an iterator to the begin of the span
70 constexpr iterator begin() noexcept { return (pointer)((uintptr_t)this + offset); }
72 /*! \brief Returns a const_iterator to the begin of the span
75 constexpr const_iterator begin() const noexcept
83 constexpr iterator end() noexcept { return std::next(begin(), length); }
88 constexpr const_iterator end() const noexcept { return std::next(begin(), length); }
90 /*! \brief Returns a const_iterator to the begin of the span
93 constexpr const_iterator cbegin() const noexcept { return begin(); }
98 constexpr const_iterator cend() const noexcept { return std::next(begin(), length); }
113 /*! \brief Returns a reverse_iterator to the begin of the span
114 * \return reverse_iterator(begin())
116 constexpr reverse_iterator rend() noexcept { return reverse_iterator(begin()); }
118 /*! \brief Returns a const_reverse_iterator to the begin of the span
119 * \return reverse_iterator(begin())
123 return const_reverse_iterator(begin());
134 /*! \brief Returns a const_reverse_iterator to the begin of the span
149 return *(std::next(begin(), index));
159 return *(std::next(begin(), index));
168 return *(std::next(begin(), length - 1));
177 return *(std::next(begin(), length - 1));
181 * \return *begin()
186 return *begin();
218 constexpr void push_back(const_reference val) noexcept { *std::next(begin(), length++) = val; }
333 Iterator begin() const { return cbegin(); }