(&v != &v) for function parameter

With Parameter Reference Optimization my understanding is that this won’t always be true for “large” parameters since they will silently convert to be passed as *const. If we are ignoring PRO, then I don’t know many good reasons to take the address of a parameter (related post I made).

1 Like