摘要: For an enpty class, if you don't declare them yourself, compilers will declare their own versions of a copy constructor, a copy assignment operator, a 阅读全文
posted @ 2021-06-23 10:55 MyCPlusPlus 阅读(38) 评论(0) 推荐(0)
摘要: In a constructor, prefer use of the member initialization list to assignment inside the body of the constructor. List data members in the initializati 阅读全文
posted @ 2021-06-23 10:03 MyCPlusPlus 阅读(62) 评论(0) 推荐(0)