[問題] Standard Template Library觀念釐清
forward_list的iterator是所有STL容器中,唯一的forward iterator
其他STL容器的iterator都是bidirectional iterator或random access iterator
list是環狀雙向鏈結串列
list的member function end()回傳list的head,
list的member function begin()回傳list的head所指向的下一個位置
forward_list就是slist,差別在於前者有標準化
unordered_map就是hash_map,差別在於前者有標準化
以上觀念有誤嗎??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.240.137.253
→
12/20 19:22, , 1F
12/20 19:22, 1F
→
12/20 21:38, , 2F
12/20 21:38, 2F
→
12/21 06:45, , 3F
12/21 06:45, 3F
→
12/21 06:49, , 4F
12/21 06:49, 4F
→
12/21 06:56, , 5F
12/21 06:56, 5F
→
12/21 07:00, , 6F
12/21 07:00, 6F
→
12/21 07:01, , 7F
12/21 07:01, 7F
→
12/21 07:03, , 8F
12/21 07:03, 8F
※loveme00835 於 12/21/2011 10:57:33 將推薦值歸零
→
12/21 11:45, , 9F
12/21 11:45, 9F
→
12/21 17:44, , 10F
12/21 17:44, 10F
→
12/22 21:48, , 11F
12/22 21:48, 11F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 2 之 3 篇):
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章