If I declare an instance variable as volatile, will the object of this class be volatile?

Viewed 234

Like:

class A
{
     volatile int i;
};


A a;

My question is that will the entire a become cv qualified? May be a naive question.

1 Answers
Related