std::hive<T,Allocator>::rend, std::hive<T,Allocator>::crend
来自 zh.cppreference.net
reverse_iterator rend() noexcept;
|
(1) | (自 C++26 起) |
const_reverse_iterator rend() const noexcept;
|
(2) | (自 C++26 起) |
const_reverse_iterator crend() const noexcept;
|
(3) | (自 C++26 起) |
返回指向反向hive最后一个元素之后元素的逆向迭代器。它对应于非反向hive第一个元素之前的元素。该元素作为一个占位符,试图访问它会导致未定义行为。
返回值
指向最后一个元素之后的逆向迭代器。
复杂度
常数。
示例
| 本节未完成 原因:无示例 |
参阅
| 返回指向起始的逆向迭代器 (公开成员函数) | |
(C++14) |
返回容器或数组的逆向尾迭代器 (函数模板) |