0
Why is this class tutorial so obsessed with const?
If you want to disallow a class member variable from changing value, you just offer a get function and not a put function.
1 Odpowiedź
+ 1
I think using const will save memory.
If you want to disallow a class member variable from changing value, you just offer a get function and not a put function.