摘要:
为什么C++的空类不能为0 Why is the size of an empty class not zero? To ensure that the addresses of two different objects will be different. For the same reason 阅读全文
摘要:
// C++继承构造.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 //VS2017社区版 #include <iostream> struct Base { Base(int, int) { std::cout << "Base(int, int)" << std::e 阅读全文