 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Babak Pourat Guest
|
Posted: Fri Jan 27, 2006 3:32 pm Post subject: volatile Methode |
|
|
Hallo,
ich bin gerade in der MSDN über folgenden satz gestolpert.
"It is an error to pass a const object to a member function that is not
const. Similarly, it is an error to pass a volatile object to a member
function that is not volatile."
Mir ist noch in keinem Buch eine volatile Methode begegnet.
Findet sie sich in der C++-Norm?
Gruß
Babak
--
de.comp.lang.iso-c++ - Moderation: mailto:voyager+mod (AT) bud (DOT) prima.de
FAQ: http://www.voyager.prima.de/cpp/ mailto:voyager+send-faq (AT) bud (DOT) prima.de
|
|
| Back to top |
|
 |
Markus Moll Guest
|
Posted: Fri Jan 27, 2006 4:37 pm Post subject: Re: volatile Methode |
|
|
Hallo
Babak Pourat wrote:
| Quote: | Mir ist noch in keinem Buch eine volatile Methode begegnet.
Findet sie sich in der C++-Norm?
|
Ja.
Allerdings hab ich sie bisher noch nicht gebraucht.
Gruß
Markus
--
de.comp.lang.iso-c++ - Moderation: mailto:voyager+mod (AT) bud (DOT) prima.de
FAQ: http://www.voyager.prima.de/cpp/ mailto:voyager+send-faq (AT) bud (DOT) prima.de
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|