To tylko jedna z 2 stron tej notatki. Zaloguj się aby zobaczyć ten dokument.
Zobacz
całą notatkę
const, volatile const const int ci =7; volatile volatile int vi=8; i++; i--; i=i+0; const and volatile objects we may call only the const and/or volatile methods for const and/or volatile objects respectively Warning: declaring const and/or volatile method usually causes overloading of this method: int f(); int f() const; const and/or volatile methods cannot be static. neither constructor, nor destructor may be const and/or volatile declaring const and/or volatile methods cannot lead to ambiguity: int f() const; // int f() const volatile;
... zobacz całą notatkę
Komentarze użytkowników (0)