摘要: STL 主要是由 containers(容器),iterators(迭代器)和 algorithms(算法)的 templates(模板)构成的. 对应于它们所支持的操作,共有五种 iterators(迭代器)。 input output \ / forward | bidirectional | random access ... 阅读全文
posted @ 2014-03-25 21:49 zzyoucan 阅读(604) 评论(0) 推荐(0)
摘要: std::shared_ptr m_spThread;m_spThread.reset(new std::thread(std::bind(&GameServer::process_thread, this)));void GameServer::process_thread(){try{proce... 阅读全文
posted @ 2014-03-25 10:21 zzyoucan 阅读(2558) 评论(0) 推荐(0)