Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tuxoko
· 5y ago · 0 comments
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...
Comments
[–]
foota
5y ago
The latter is the dereference operator, it's commonly overridden for single element container types.