Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-05-19 11:10:08


Rozental, Gennadiy wrote:
> Does it incorrect from standard standpoint:
>
> class A {
> int member;
> };
>
> class B : A {
> public:
> using A::member;
> };
>
> If it is allowed why so many compilers having issues with it?

I don't see why you think it should be allowed. A::member is private, not
protected. It's not accessible from B.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk