One Article Review

Accueil - L'article:
Source codingsec.webp CodingSec
Identifiant 153895
Date de publication 2016-10-02 16:00:01 (vue: 2016-10-02 16:00:01)
Titre what are volatile objects and member functions
Texte Volatile Objects and Member Functions   An object which can be modified by some unknown forces (like hardware) other than the program itself can be declared as volatile. Compiler doesn't apply any optimizations for such volatile objects. Syntax for declaring an volatile object is as follows: volatile ClassName object-name;   A member function can be declared as volatile to make the access to member variables to be volatile. A volatile object can access only volatile functions. Syntax for creating a volatile function is as follows: return-type function-name(params-list) volatile;   Following program demonstrates both volatile objects and volatile programs: 1 2 3 4 5
Envoyé Oui
Condensat access any appeared apply are asâ volatile asâ volatileâ to both can classname coding compiler creating declared declaring demonstrates doesn first following follows: forces function functions hardware itself like list make member modified name name; object objects only optimizations other params post program programs: return security some such syntax than type unknown variables volatile volatile; what which
Tags
Stories
Notes
Move


L'article ne semble pas avoir été repris aprés sa publication.


L'article ne semble pas avoir été repris sur un précédent.
My email: