|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-05-25 11:13:48
Vladimir Prus <ghost_at_[hidden]> writes:
> No, I don't have an easy test case: the snippet
>
> class B {
> protected:
> int i;
> };
>
> class D : private B {
> public:
> using B::i;
> };
>
> that Gennadiy referred to (IIRC) compiles without errors.
The error occurs at the point of access. Try doing something that
uses D::i.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk