std::hive<T,Allocator>::end, std::hive<T,Allocator>::cend
来自 zh.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) |
返回指向容器或数组末尾的迭代器 (函数模板) |