I've recently noticed that the const keyword on some code examples shifted in the middle (from respectable blog sites), something like this:
X(X const& that) { .../... }
X& operator=(X const& other) { .../... }
Is this equivalent to this more familiar syntax?
X(const X& that) { .../... }
X& operator=(const X& other) { .../... }
What is the purpose of switching 'const' that way?