Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #11663
| From | "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Protected member inaccessible from derived class - why |
| Date | 2011-11-21 16:41 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <jadrfk$2t7$1@dont-email.me> (permalink) |
| References | <90fac08a-2e86-4621-9b08-68e9d2f4d288@w7g2000yqc.googlegroups.com> <jadhhd$vo1$1@dont-email.me> <860e2edc-12e7-4f7a-9111-ef8b295838e6@o5g2000yqa.googlegroups.com> |
On 21.11.2011 14:10, avasilev wrote:
>>> void test(Base* b)
>
> MyClass& operator=(MyClass& other)
> {
> mMember = other.mMember;
> ...
> }
>
> where mMember was internal protected stuff. IS there any exception
> for operators, or I am just mistaken?
Can you see any obvious difference above?
Cheers & hth.,
- Alf
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Protected member inaccessible from derived class - why avasilev <alxvasilev@gmail.com> - 2011-11-21 03:10 -0800
Re: Protected member inaccessible from derived class - why Victor Bazarov <v.bazarov@comcast.invalid> - 2011-11-21 07:51 -0500
Re: Protected member inaccessible from derived class - why avasilev <alxvasilev@gmail.com> - 2011-11-21 05:10 -0800
Re: Protected member inaccessible from derived class - why "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2011-11-21 16:41 +0100
Re: Protected member inaccessible from derived class - why Leigh Johnston <leigh@i42.co.uk> - 2011-11-21 18:40 +0000
Re: Protected member inaccessible from derived class - why "Paul" <pchrist<nospam>or@yahoo.co.uk> - 2011-11-21 20:36 +0000
csiph-web