move newptr to test_multi...
scalars that are constant in a functor expression can also be changed