The other day, a C++ student approached me on-line, while he researched some tiny framework of mine. In his own words he”bumped into this problem”. For some reason, he still uses Visual Studio 2017 IDE. Annoyingly he had an image, not a source code, to prove the problem. Sigh.
std::swap is quite fundamental. And allow me to assume, fundamentally glanced over by you :) Which is a pity; understanding
std::swap concept fully, will make you more clear on a few other important C++ concepts. Continue reading