Click here to Skip to main content
15,892,746 members
Articles / Programming Languages / C++

To Const or Not to Const

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
14 Jan 2020MIT5 min read 7K   6  
const-correctness, about when and why you should use const keyword - this post was inspired by a rule from the first chapter of Code Craft, by Pete Goodliffe, on Defensive programming

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The MIT License



Comments and Discussions