I am working out of a book that claims that their examples comply to standard C++. There is a particular line of code in an example in their book that is generating errors for my compiler:
Third edition is from early 1998, when the first revision of the standard was just on its way to publication. Even the coauthors of C++ can make mistakes. Get the fifth edition, from 2012.