std::hive<T,Allocator>::end, std::hive<T,Allocator>::cend
ja.cppreference.net より
iterator end() noexcept;
|
(1) | (C++26 から) |
const_iterator end() const noexcept;
|
(2) | (C++26 から) |
const_iterator cend() const noexcept;
|
(3) | (C++26 から) |
の最後の要素の次の要素を指すイテレータを返しますhive.
この要素はプレースホルダとして機能します。アクセスしようとすると未定義動作になります。
戻り値
最後の要素の次の要素を指すイテレータ。
計算量
定数時間。
例
Template:cpp/container/begin/examples/hive
関連項目
| 先頭を指すイテレータを返します (パブリックメンバ関数) | |
(C++11)(C++14) |
コンテナまたは配列の末尾を指すイテレータを返します (関数テンプレート) |