Although it starts off a bit fuzzy, eventually this article managed to explain to me these by now old-fangled move semantics of C++11. I still am not a hundred percent certain when C++ will invoke this operator (after ‘analysis’), but apparantly you can force it by using
std::move. Hmm, good idea, and not quite the simplest implementation, because now I must think when C++ will use it and when not.
More straightforward is this regex tutorial. It’s the first of these tutorials I’ve done, and I can recommend this one. Very hands-on.