Click here to Skip to main content
15,883,978 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: overzealous protection rules Pin
Dave Schumann12-Jul-06 5:17
Dave Schumann12-Jul-06 5:17 
GeneralRe: overzealous protection rules Pin
David Crow12-Jul-06 5:27
David Crow12-Jul-06 5:27 
GeneralRe: overzealous protection rules Pin
Dave Schumann12-Jul-06 5:33
Dave Schumann12-Jul-06 5:33 
GeneralRe: overzealous protection rules Pin
Zac Howland12-Jul-06 5:50
Zac Howland12-Jul-06 5:50 
GeneralRe: overzealous protection rules Pin
toxcct12-Jul-06 6:38
toxcct12-Jul-06 6:38 
GeneralRe: overzealous protection rules Pin
Zac Howland12-Jul-06 7:05
Zac Howland12-Jul-06 7:05 
QuestionRe: overzealous protection rules Pin
David Crow12-Jul-06 6:30
David Crow12-Jul-06 6:30 
GeneralRe: overzealous protection rules Pin
Dave Schumann12-Jul-06 5:07
Dave Schumann12-Jul-06 5:07 
Yes, me too. It's not complaining about accessing "partner" - it's complaining about accessing "partner::value" even though B is a child of A and "value" is a protected member.

This is a toy version of a real problem I'm having (I trusted that the "A", "B", "foobar", and "doodah" names would make that relatively obvious Wink | ;-) ). My real problem involves much larger *classes* (not structs...again this is a toy problem) and the real-life version of "A" is not easy to modify. I was honestly shocked I was able to write this toy version that doesn't compile (it really doesn't - just cut'n'paste and see for yourself). I assumed that the problem was some complicated thing about my larger classes and their relationships or whatever...but no, it's really not letting me do this.
GeneralRe: overzealous protection rules Pin
Zac Howland12-Jul-06 6:09
Zac Howland12-Jul-06 6:09 
GeneralRe: overzealous protection rules Pin
Dave Schumann12-Jul-06 6:15
Dave Schumann12-Jul-06 6:15 
GeneralRe: overzealous protection rules Pin
Zac Howland12-Jul-06 6:25
Zac Howland12-Jul-06 6:25 
GeneralRe: overzealous protection rules [modified] Pin
Dave Schumann12-Jul-06 6:48
Dave Schumann12-Jul-06 6:48 
GeneralRe: overzealous protection rules Pin
Zac Howland12-Jul-06 7:05
Zac Howland12-Jul-06 7:05 
AnswerRe: overzealous protection rules Pin
Zac Howland12-Jul-06 5:45
Zac Howland12-Jul-06 5:45 
GeneralRe: overzealous protection rules Pin
Dave Schumann12-Jul-06 6:00
Dave Schumann12-Jul-06 6:00 
GeneralRe: overzealous protection rules Pin
Zac Howland12-Jul-06 6:21
Zac Howland12-Jul-06 6:21 
GeneralRe: overzealous protection rules Pin
Dave Schumann12-Jul-06 6:50
Dave Schumann12-Jul-06 6:50 
GeneralRe: overzealous protection rules Pin
Zac Howland12-Jul-06 7:08
Zac Howland12-Jul-06 7:08 
GeneralRe: overzealous protection rules Pin
Dave Schumann12-Jul-06 6:59
Dave Schumann12-Jul-06 6:59 
GeneralRe: overzealous protection rules Pin
Zac Howland12-Jul-06 7:14
Zac Howland12-Jul-06 7:14 
Answersolution Pin
Dave Schumann12-Jul-06 6:04
Dave Schumann12-Jul-06 6:04 
GeneralRe: solution Pin
Dave Schumann12-Jul-06 8:25
Dave Schumann12-Jul-06 8:25 
GeneralRe: solution Pin
BadKarma12-Jul-06 8:58
BadKarma12-Jul-06 8:58 
GeneralRe: solution Pin
led mike12-Jul-06 8:53
led mike12-Jul-06 8:53 
AnswerRe: overzealous protection rules Pin
Rilhas17-Jul-06 13:43
Rilhas17-Jul-06 13:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.