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:
浙公网安备 33010602011771号