Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 221 Bytes

exercise_7_50.md

File metadata and controls

7 lines (4 loc) · 221 Bytes

练习7.50:确定在你的Person类中是否有一些构造函数应该是explicit的。


比如传入istream&的构造函数,避免隐式转换可以让意义更明确。

Person类