LConst PConst
const qualifier does not always work the way we expect it to. In this article we will see some cases when the const doesn't protect us from modifications at all.
The const keyword is widely used within almost every C++ program. It symbolizes the idea of a constant variable, object, function, and more, and is meant to forbid us from manipulating and changing the content of a memory location within a certain scope. However, as we learned before “There is nothing more deceptive than an obvious fact.” (Sherlock Holmes). Const Rules In this article, I won’t…
View On WordPress











