摘要:
#include <cassert> /** * Cast one size of int down to another one. * Asserts that no precision is lost at runtime. */ template<typename Small, typenam 阅读全文
摘要:
// A macro to disallow the copy constructor and operator= functions #ifndef DISALLOW_COPY_AND_ASSIGN #define DISALLOW_COPY_AND_ASSIGN(TypeName) \ Type 阅读全文