std::multimap<Key,T,Compare,Allocator>::begin, std::multimap<Key,T,Compare,Allocator>::cbegin
来自cppreference.com
| iterator begin(); |
(C++11 前) | |
| iterator begin() noexcept; |
(C++11 起) | |
| const_iterator begin() const; |
(C++11 前) | |
| const_iterator begin() const noexcept; |
(C++11 起) | |
| const_iterator cbegin() const noexcept; |
(C++11 起) | |
返回指向容器首元素的迭代器。
若容器为空,则返回的迭代器将等于 end() 。
目录 |
[编辑] 参数
(无)
[编辑] 返回值
指向首元素的迭代器。
[编辑] 复杂度
常数。
[编辑] 示例
| 本节未完成 原因:暂无示例 |
[编辑] 参阅
| 返回指向容器尾端的迭代器 (公开成员函数) |