Looking at the links in C ++, I noticed that in all the implementations I was looking at, an internal pointer was used.
Does the C ++ standard guarantee that the link will use the pointer inside, or would it be nice if the implementation used a more "efficient" solution? (Currently, I donβt see how this could be done βbetterβ because when a new stack stack is created, there really is no bulletproof way to easily find out which offset from the pointer on the stack refers to the variable it refers to, because the stack is pretty dynamic)
Note. I understand the difference between a pointer and a link in C ++ (this question has nothing to do with this)
source share