What follows is a set of rules, guidelines, and tips that we have found to be useful in making C++ code portable across many machines and compilers.
This information is the result of porting large amounts of code across about 25 different machines, and at least a dozen different C++ compilers. Some of these things will frustrate you and make you want to throw your hands up and say, “well, that’s just a stupid compiler if it doesn’t do
We will endeavor to keep the information up to date (for example, sometimes a new compiler revision will lift a restriction). If you have updates on any of these tips, more information, more ideas, please forward them to Christopher Blizzard, Scott Collins, or David Baron.