I know I can add volatile keyword at the end of member function declaration to make this pointer as volatile but how to do it inside constructor ?
class A {
void method() volatile; // inside method this is volatile pointer.
A() {;} // How to make this as volatile pointer here.
}
Thanks
Aucun commentaire:
Enregistrer un commentaire