The private member variable is just accessed by the public member function.
So..It is not BCB's bug.
--
[m※ Origin: 雲林科技大學藍天使 <bbs.yuntech.edu.tw> [From: 140.125.32.51]
你好像沒仔細看我的問題內容 const int*ptrm=&A::m;
這樣不是已經讓ptrm得到A:m的address 再dereference
就得到它的值 這樣不算access嗎???
--
[1;31mO [1;32mr [1;33mi [1;34mg [1;35mi [1;36mn [1;31m: [1;36m<不良牛牧場> [1;33mzoo.ee.ntu.edu.tw [1;32m(140.112.18.36) [m
[1;32mWelcome to SimFarm BBS [1;36m-- [m [1;31mFrom : [ [m211.72.86.17 [1;31m] [m