名前空間
変種

std::span<T,Extent>::begin, std::span<T,Extent>::cbegin

提供: cppreference.com
<tbody> </tbody>
iterator begin() noexcept;
(since {std})
const_iterator begin() const noexcept;
(since {std})
const_iterator cbegin() const noexcept;
(since {std})

コンテナの最初の要素を指すイテレータを返します。

コンテナが空の場合は、返されたイテレータは end() と等しくなります。

引数

(なし)

戻り値

最初の要素を指すイテレータ。

計算量

一定。


関連項目