STL-关联容器

set

构造函数:

explicit set ( const Compare& comp = Compare(),

const Allocator& = Allocator() );
template <class InputIterator>
set ( InputIterator first, InputIterator last,
const Compare& comp = Compare(), const Allocator& = Allocator() );
set ( const set<Key,Compare,Allocator>& x );

 

Iterators:
begin
end
rbegin
rend

Capacity:
empty
size
max_size

Modifiers:
insert
erase
swap
clear

Observers:
key_comp
value_comp

Operations:
find
count
lower_bound
upper_bound
equal_range

map:

基本同set

multiset:

multimap:

posted on 2012-10-20 10:57  赛欧拉  阅读(64)  评论(0)    收藏  举报