3 ms·
A const parameter in C++ tells you that nothing is going to be modifying the object in the body of the function you're writing, in which you're making a tempora
by SamReidHughes 12y ago
A const parameter in C++ tells you that nothing is going to be modifying the object in the body of the function you're writing, in which you're making a temporary reference to said object.
Unless you're trying to say that it's not a formal proof of correctness, but that's not an argument that engages with the claim the blog article made about whether this is something you would or wouldn't, or couldn't do, in C++.