Click here to Skip to main content
15,885,990 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: pthread Pin
toxcct12-Jul-06 4:58
toxcct12-Jul-06 4:58 
GeneralRe: pthread Pin
led mike12-Jul-06 5:02
led mike12-Jul-06 5:02 
AnswerRe: pthread Pin
David Crow12-Jul-06 4:58
David Crow12-Jul-06 4:58 
AnswerRe: pthread Pin
led mike12-Jul-06 5:05
led mike12-Jul-06 5:05 
AnswerRe: pthread Pin
Jun Du12-Jul-06 5:08
Jun Du12-Jul-06 5:08 
Questionoverzealous protection rules Pin
Dave Schumann12-Jul-06 4:53
Dave Schumann12-Jul-06 4:53 
AnswerRe: overzealous protection rules Pin
toxcct12-Jul-06 4:56
toxcct12-Jul-06 4:56 
GeneralRe: overzealous protection rules Pin
Dave Schumann12-Jul-06 5:02
Dave Schumann12-Jul-06 5:02 
FILENAME.cpp(230) : error C2248: 'A::value' : cannot access protected member declared in class 'A'
FILENAME.cpp(224) : see declaration of 'A::value'
FILENAME.cpp(218) : see declaration of 'A'

line 230 is the "partner->value += 2" call in foobar(). It has no complaint about the "++partner->value" call in doodah().

I'm not a language lawyer but this seems like it should be legal.
AnswerRe: overzealous protection rules Pin
Dave Kerr12-Jul-06 4:59
Dave Kerr12-Jul-06 4:59 
GeneralRe: overzealous protection rules Pin
Christian Graus12-Jul-06 5:00
protectorChristian Graus12-Jul-06 5:00 
GeneralRe: overzealous protection rules Pin
toxcct12-Jul-06 5:05
toxcct12-Jul-06 5:05 
GeneralRe: overzealous protection rules Pin
Dave Kerr12-Jul-06 5:08
Dave Kerr12-Jul-06 5:08 
GeneralRe: overzealous protection rules Pin
Dave Schumann12-Jul-06 5:29
Dave Schumann12-Jul-06 5:29 
GeneralRe: overzealous protection rules Pin
Dave Schumann12-Jul-06 5:04
Dave Schumann12-Jul-06 5:04 
AnswerRe: overzealous protection rules Pin
Maximilien12-Jul-06 4:59
Maximilien12-Jul-06 4:59 
AnswerRe: overzealous protection rules Pin
David Crow12-Jul-06 5:10
David Crow12-Jul-06 5:10 
GeneralRe: overzealous protection rules Pin
toxcct12-Jul-06 5:06
toxcct12-Jul-06 5:06 
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 

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.