Content deleted Content added
TakuyaMurata (talk | contribs) some rework |
TakuyaMurata (talk | contribs) mNo edit summary |
||
Line 8:
b = 4; // not ok
Otherwise, variables work exactly like varialbes with non-const type. The exact semantic of ''const'' varies widely. Mostly, the feature referrs to that in
The idea of <code>const</code>-ness does not imply that the variable as it is stored in the [[computer]]'s [[computer storage|memory]] is unwriteable. Rather, <code>const</code>-ness is a [[compile-time]] construct that indicates what a programmer ''may'' do, not necessarily what he ''can'' do.
|