名前空間
変種
操作

std::span<T,Extent>::end, std::span<T,Extent>::cend

提供: cppreference.com
< cpp‎ | container‎ | span
iterator end() noexcept;
(since {std})
const_iterator end() const noexcept;
(since {std})
const_iterator cend() const noexcept;
(since {std})

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

この要素はプレースホルダとしての役割を持ちます。 この要素にアクセスを試みると未定義動作になります。

range-begin-end.svg

目次

[編集] 引数

(なし)

[編集] 戻り値

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

[編集] 計算量

一定。


[編集] 関連項目

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