c:c_const_declaration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
c:c_const_declaration [2021/10/04 21:29] – [But where does ‘const’ come into this?] peter | c:c_const_declaration [2023/06/26 07:24] (current) – [Messier Still - in the Object Oriented Programming] peter | ||
---|---|---|---|
Line 233: | Line 233: | ||
</ | </ | ||
- | * which will ban Method1 in Class2 from being anything which can attempt to alter any member variables in the object. | + | * which will ban Method1 in Class2 from doing anything which can attempt to alter any member variables in the object. |
Of course one sometimes needs to combine some of these different uses of ‘const’ which can get confusing as in: | Of course one sometimes needs to combine some of these different uses of ‘const’ which can get confusing as in: | ||
Line 269: | Line 269: | ||
http:// | http:// | ||
+ | https:// |
c/c_const_declaration.1633382970.txt.gz · Last modified: 2021/10/04 21:29 by peter