摘要:
对map作key遍历和普通容器一样,因为key - value是一一对应,而对multimap则要使用一些其他方法了。主要是使用upper_bound,传入一个key值,upper_bound会返回比其大的第一个keyiterator upper_bound(const key_type& _Key... 阅读全文
posted @ 2012-02-15 10:53
magicyang87
阅读(571)
评论(0)
推荐(0)

浙公网安备 33010602011771号