in reply to Amusing note on my own stupidity (longish)

Sounds like you're asking the wrong question. If you need something that isn't readonly, copy it. You obviously want to have something that's isn't an lvalue when you accept readonly inputs, so you need to copy the inputs that aren't readonly.
  • Comment on Re: Amusing note on my own stupidity (longish)