Previous section   Next section

Imperfect C++ Practical Solutions for Real-Life Programming
By Matthew Wilson
Table of Contents
Part Three.  Language Concerns


Chapter 16. Keywords

It's easy to define new types in C++ (see Chapter 13), since that's one of the prime features of C++. It's harder to define values (see Chapter 15), but still eminently feasible. But it's pretty much impossible to introduce or effect new keywords in a safe manner. The only way to do this is with macros, which we all know are the last resort of the competent practitioner, even an imperfect one. So, into the breach we go....


      Previous section   Next section