◐ Shell
clean mode source ↗

std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::end(size_type), std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::cend(size_type) - cppreference.com

来自cppreference.com

local_iterator end( size_type n );
(C++11 起)
const_local_iterator end( size_type n ) const;
(C++11 起)
const_local_iterator cend( size_type n ) const;
(C++11 起)

返回指向索引为 n 的桶的最后元素之后的元素的迭代器。此元素表现为占位符,试图访问它会导致未定义行为。

参数

返回值

指向最后元素之后的元素的迭代器。

复杂度

常数。

参阅