Click here to Skip to main content
15,912,897 members
Articles / Programming Languages / C++

LConst PConst - Exploring the const Keyword in C++

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
17 Jul 2023CPOL4 min read 9.9K   2  
Some cases when const keyword in C++ doesn't protect us from modifications at all
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.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Israel Israel
Senior C++ developer.
C++ Senioreas blog writer.
Passionate about investigating the boundaries and exploring the advanced capabilities of C++.

Comments and Discussions