fundamental c++ in out modification