命名空間
變體
動作

std::unordered_set<Key,Hash,KeyEqual,Allocator>::begin(size_type), std::unordered_set<Key,Hash,KeyEqual,Allocator>::cbegin(size_type)

出自 cppreference.com
 
 
 
 
local_iterator begin( size_type n );
(C++11 起)
const_local_iterator begin( size_type n ) const;
(C++11 起)
const_local_iterator cbegin( size_type n ) const;
(C++11 起)

返回指向索引為 n 的 bucket(桶)中第一個元素的迭代器。

目錄

[編輯] 參數

n - 要存取的 bucket 索引

[編輯] 返回值

指向第一個元素的迭代器。

[編輯] 複雜度

常數。

[編輯] 參閱

返回指向指定桶結尾的迭代器
(公開成員函式) [編輯]
English Deutsch 日本語 中文(简体) 中文(繁體)