Example #1
0
 virtual int getBValue()
   { if (bobject) { return bobject->Number(); } return 0; }// ERROR - .*
Example #2
0
 //
 // the following two functions access
 // private member functions of class B
 // and they should not be able to do so
 //
 virtual void setBValue(int i) 
   { if (bobject) bobject->Number(i); }// ERROR - .*