由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - STL map
相关主题
弱弱的问问hash, hashtable? (转载)构建一个快速查询字典(数据结构题)?
c+= 怎么实现 hashtable 的?弱弱的问问跟hash有关的问题 (转载)
问几个关于hash, map, set的问题 (转载)C++ STL 的问题
C++ 有现成的 hashtable 库吗?c++0x unordered_map vs sgi hash_map
请教C++中的unordered_setboost::unordered一问
c++ stl里面有hash table吗?一个关于unordered_map/hashmap的问题
一个C++的问题C++ STL的unordered_map, unordered_set,map,set很慢
A C++ STL question请教算法题
相关话题的讨论汇总
话题: map话题: stl话题: hash话题: require话题: order
进入Programming版参与讨论
1 (共1页)
r*******y
发帖数: 1081
1
Is this map a kind of hash map?
STL map will keep the key in order, but a general hash map does not require
this, right?
Thanks
t****t
发帖数: 6806
2
you answered yourself, STL map is not hash map since it keeps order. usually
STL map is implemented in R-B tree, but there is no strict requirement for
this.

require

【在 r*******y 的大作中提到】
: Is this map a kind of hash map?
: STL map will keep the key in order, but a general hash map does not require
: this, right?
: Thanks

r*******y
发帖数: 1081
3
thanks.
So STL does not provide hashing?

usually
for

【在 t****t 的大作中提到】
: you answered yourself, STL map is not hash map since it keeps order. usually
: STL map is implemented in R-B tree, but there is no strict requirement for
: this.
:
: require

M*********t
发帖数: 257
4
in the coming C++0x standard, it will be part of the standard library as std
::unordered_ma. For now just use boost's unordered_map if needed

【在 r*******y 的大作中提到】
: thanks.
: So STL does not provide hashing?
:
: usually
: for

r*******y
发帖数: 1081
5
thanks

std

【在 M*********t 的大作中提到】
: in the coming C++0x standard, it will be part of the standard library as std
: ::unordered_ma. For now just use boost's unordered_map if needed

1 (共1页)
进入Programming版参与讨论
相关主题
请教算法题请教C++中的unordered_set
interview question: (RB tree vs. hash table)c++ stl里面有hash table吗?
一个hash table的简单问题一个C++的问题
问个有关C++ map的问题A C++ STL question
弱弱的问问hash, hashtable? (转载)构建一个快速查询字典(数据结构题)?
c+= 怎么实现 hashtable 的?弱弱的问问跟hash有关的问题 (转载)
问几个关于hash, map, set的问题 (转载)C++ STL 的问题
C++ 有现成的 hashtable 库吗?c++0x unordered_map vs sgi hash_map
相关话题的讨论汇总
话题: map话题: stl话题: hash话题: require话题: order