The fact that the static and dynamic types of references and pointers can differ is the cornerstone of how C++ supports polymorphism.

 
  • 引用和指针的静态类型与动态类型可以不同,这是C++用以支持多态性的基石。
今日热词
目录 附录 查词历史