很清晰生动得传达了意思,佩服作者的表达能力,admire
Given the availability of vacations
const
s and inline
s, your need for the preprocessor is reduced, but it's not completely eliminated. The day is far from near when you can abandon #include
, and #ifdef
/#ifndef
continue to play important roles in controlling compilation. It's not yet time to retire the preprocessor, but you should definitely plan to start giving it longer and more frequent