|
Boost : |
From: Chuck Allison (cda_at_[hidden])
Date: 2002-04-16 15:49:16
It is allowed in member function bodies for normal scoping purposes. As you
know, the use of using declarations in classes is for the purpose of
restoring access lost by protected or private inheritance. Allowing what you
propose would confuse things, IMO. What exactly would using foo::whatever
mean, if it were not a member of a base class?
----- Original Message -----
From: "Neal D. Becker" <nbecker_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, April 16, 2002 1:43 PM
Subject: Re: [boost] [OT] Why no using in class?
> >>>>> "James" == James S Adelman <j.adelman_at_[hidden]> writes:
>
> James> On Tuesday 16 April 2002 7:42 pm, you wrote:
> >> Why are we not allowed to do:
> >>
> >> class X {
> >> using foo:whatever;
> >> ...
> >> };
>
> James> Perhaps you mean
>
> James> class X {
> James> using foo::whatever;
> James> ...
> James> };
>
> Yes, that was what I meant to say. So, why is it not allowed?
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk