名前空間
変種
操作

std::map<Key,T,Compare,Allocator>::end, std::map<Key,T,Compare,Allocator>::cend

提供: cppreference.com
< cpp‎ | container‎ | map
 
 
 
 
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以上)

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

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

range-begin-end.svg

目次

[編集] 引数

(なし)

[編集] 戻り値

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

[編集] 計算量

一定。


[編集] 関連項目

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