Overloading functions with optional arguments

Hm, I must have misunderstood the question. But why would the association or allocation status matter? Isn’t it the presence of the argument that is important here?