O'Reilly logo
  • Yuan Peng Chiang thinks this is interesting:

A function used to set or get the value of a private member variable is called an accessor.

From

Cover of Sams Teach Yourself C++ in 24 Hours, fifth edition

Note

just like setter and getter in java bean.