@CygnusX1 I meant that the temporary created by returning by value is not copied/moved to
arr
, but rather merged with it. I guess "RVO" isn't the right word, this is mandatory copy elision from C++17.