4 ms·
That only goes so far - without reasonable method names you still don't know if the operation actually mutates the parameter, e.g. in void func(ParamType* pa
by cpgxiii 4y ago
That only goes so far - without reasonable method names you still don't know if the operation actually mutates the parameter, e.g. in
void func(ParamType* param) {
...
auto res_1 = param->Operation1(1);
auto res_2 = param->Operation2(2);
...
}
the presence of -> doesn't tell you which method mutates. The only thing that would tell you that would be knowing which method is const.