摘要: 1. the advantages of intrusive container (1) Intrusive containers don't allocate memory dynamically. A call to push_back() dosen't lead to a dynamic a 阅读全文
posted @ 2019-06-14 19:14 c++11 阅读(429) 评论(0) 推荐(0)
摘要: 1. using boost::heap::priority_queue In general this class behaves like std::priority_queue, except it allows you to iterate over elements. The order 阅读全文
posted @ 2019-06-14 18:57 c++11 阅读(1088) 评论(0) 推荐(0)
摘要: 1. circular buffer has two fundamental properties: (1): The capacity of the circular buffer is constant and set by you. The capacity doesn't change au 阅读全文
posted @ 2019-06-14 16:01 c++11 阅读(1414) 评论(0) 推荐(0)