摘要: #include <cassert> /** * Cast one size of int down to another one. * Asserts that no precision is lost at runtime. */ template<typename Small, typenam 阅读全文
posted @ 2019-12-28 10:21 hbg-rohens 阅读(384) 评论(0) 推荐(0) 编辑
摘要: // A macro to disallow the copy constructor and operator= functions #ifndef DISALLOW_COPY_AND_ASSIGN #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ Type 阅读全文
posted @ 2019-12-28 10:13 hbg-rohens 阅读(1262) 评论(0) 推荐(0) 编辑