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

来自cppreference.com
 
 
 
 
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)
返回指向容器或数组结尾的迭代器
(函数模板) [编辑]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.