4 ms·
I haven't touched C++ in forever, but as a C programmer it looks insane that you can do dot operator and -> operator on the same variable and not cause compiler
by tuxoko 5y ago
I haven't touched C++ in forever, but as a C programmer it looks insane that you can do dot operator and -> operator on the same variable and not cause compiler error...
- foota 5y agoThe latter is the dereference operator, it's commonly overridden for single element container types.