Boost logo

Boost :

From: James S. Adelman (j.adelman_at_[hidden])
Date: 2002-04-16 15:26:28


On Tuesday 16 April 2002 8:43 pm, you wrote:
> >>>>> "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?

It is allowed for members of base classes of X. It is probably disallowed
for other things because that would be treating the class scope as a
namespace scope, and the meaning of the two senses would be distinct.

jsa


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