c:c_const_declaration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
c:c_const_declaration [2022/06/01 13:14] – 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: |
c/c_const_declaration.1654089276.txt.gz · Last modified: 2022/06/01 13:14 by peter