|
-
July 24th, 2011, 01:57 PM
#5
Re: extern a public member of a class - is it possible?
when I try to access p such as with -
MyClass *m;
then try to access the member using -
m->p
I get the error pointer to incomplete class type is not allowed. I also tried to add a getPImpl() function that returns p to Myclass, and that won't return p for some reason. Why?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|