CPlusPlusThings icon indicating copy to clipboard operation
CPlusPlusThings copied to clipboard

‘int Base::value’ is private within this context

Open warmbodytt opened this issue 2 years ago • 1 comments

https://github.com/Light-City/CPlusPlusThings/blob/c68db8a2294427e969680c7ee45571d83ccf590f/basic_content/using/derived_base.cpp#L35

warmbodytt avatar Feb 23 '23 14:02 warmbodytt

个人认为这就是为了让大家知道 protect 限定符的作用

laialaodi avatar Feb 24 '23 12:02 laialaodi