Y
Hacker News
new
|
ask
|
show
|
jobs
by
tuxoko
1799 days 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...
1 comments
foota
1799 days ago
The latter is the dereference operator, it's commonly overridden for single element container types.
link