◐ Shell
clean mode source ↗

std::span<T,Extent>::begin, std::span<T,Extent>::cbegin - cppreference.com

[edit template]

<tbody> </tbody>

iterator begin() noexcept;

(since {std})

const_iterator begin() const noexcept;

(since {std})

const_iterator cbegin() const noexcept;

(since {std})

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

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

引数

(なし)

戻り値

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

計算量

一定。

This section is incomplete
Reason: no example

関連項目

終端を指すイテレータを返します
(パブリックメンバ関数) [edit]