When I read litb answer to this question, I learned that passing an array by reference allows us to obtain its size. I just played little bit with code, and tried to pass a
It's not as common an idiom, so it might just be that the VS team didn't add a rule to optimise it.