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

Words
35
Reading
1 min
2y
Listen to this post
~1 min

... 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