#TIL operator-> is called recursively #cpp #cplusplus If a user-defined ...

Words
35
Reading
1 min
Listen
Play
2y

... operator-> is called, operator-> is called again on the resulting value, recursively, until an operator-> is reached that returns a plain pointer. After that, built-in semantics are applied to that pointer.

#TIL operator-> is called recursively #cpp #cplusplus If a user-d... | Ecency