TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C++ Coding Standard
Search

Rule:  CON#002Checked automatically with code checker

Synopsis:Do not cast away const
Language:C++
Severity Level:2
Category:Conversions


Description:

A const variable is not meant to be changed. Note that it should be possible for a compiler to allocate constants in read-only memory.



Literature References:
Ellemtel Rul 46
ISC++ Rec. 6.3