More Exceptional C++: 40 New Engineering Puzzles, Programming Problems, and Solutions
| I l @ ve RuBoard |
| Difficulty: 4 Preprocessor macros are part of C++'s heritage from C. This Item considers whether they are still relevant in the modern C++ scheme of things. With flexible features such as overloading and type-safe templates available, why would a C++ programmer ever write a preprocessor directive like " #define "? |
| I l @ ve RuBoard |