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
Or in any case to a very large portion of the programming population. And as much as we are “progressing” with dramatically changing C++98 from 11 to 17 and 20, that much it seems people at large are regressing in grasping the concepts of C++ standard library. Continue reading