View Single Post
  #3 (permalink)  
Old March 4th, 2012, 11:30 AM
Marc Gregoire Marc Gregoire is offline
Wrox Author
Points: 220, Level: 4
Points: 220, Level: 4 Points: 220, Level: 4 Points: 220, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2011
Posts: 49
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Correct, getId() is an inspector and does not change any data members of the class, so it's const.