close
名前空間
変種

std::vector<T,Allocator>::end, std::vector<T,Allocator>::cend

提供: cppreference.com
 
 
 
 
<tbody> </tbody> <tbody class="t-dcl-rev "> </tbody><tbody> </tbody> <tbody class="t-dcl-rev "> </tbody><tbody> </tbody>
iterator end();
(C++11未満)
iterator end() noexcept;
(C++11以上)
const_iterator end() const;
(C++11未満)
const_iterator end() const noexcept;
(C++11以上)
const_iterator cend() const noexcept;
(C++11以上)

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

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

Image

引数

(なし)

戻り値

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

計算量

一定。


関連項目

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