In table 5-7 on page 331, the text describing the pop_front method on the STL list container says
Removes the last element from the list.Unless I'm missing something, this should read "Removes the first element from the list." See also this.
This will have repercussions on student's grades because there is a question in the on-line materials that was directly lifted from this sentence. When I took that quiz I kept getting this question wrong, and couldn't understand why. I then went back and re-read the chapter and saw this.
Caveat Emptor.
No comments:
Post a Comment