in reply to Re: returning ref to static var vs. copying
in thread returning ref to static var vs. copying

It does have the advantage of consistency: The array is accessed by reference both in and out of the function.
  • Comment on Re^2: returning ref to static var vs. copying