Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 512 Bytes

chapter2.md

File metadata and controls

5 lines (5 loc) · 512 Bytes

操作符(Operators)

条款5:对定制的“类型转换函数”保持警觉(Be wary of user-defined conversion functions.)

条款6:区别increment/decrement操作符的前置(prefix)和后置(postfix)形式(Distinguish between prefix and postfix forms of increment and decrement operators.)

条款7:千万不要重载&&||,操作符(Never overload &&, ||, or ,.)

条款8:了解各种不同意义的newdelete(Understand the different meanings of new and delete.)