What is an accessor? C++

Q

What is an accessor? C++

✍: Guest

A

An accessor is a class operation that does not modify the state of an object. The accessor functions need to be declared as const operations

2012-01-03, 2666👍, 0💬